I'm looking for a javascript world map, much like Google Maps, that can be embedded into a webpage, and extended so I can plot my own points on it. The major catch is that the map needs to be completely usable without an internet connection (i.e., local intranet). It doesn't need to have the same level of detail as Google Maps, but should be able to have a little bit of zoom capabilities. Any ideas?
Edit: I'm not talking about a street map, more like an atlas map, preferably with terrain data. Sorry
You may want to investigate OpenLayers, which is an open source web-based mapping engine.
I don't know of any engines off the top of my head, but there are several sources of map data that are free to use:
If you can utilize imagery without street data, NASA's Blue Marble project is handy. However, as mentioned by others, the data can be very large.
For street maps you could download the whole planet database from OpenStreetMap, but it's about 160GB uncompressed!
For topography, you could try GLOBE.
Related
I am looking for a way to extract built in property boundary data from the Google API to know where to highlight areas for information needs.
It's easy enough drawing a polygon, but I want to know where to draw it in a more automated fashion. Perhaps similar to Geocoding for extracting an address location, except the geocoder only provides a central coordinate and a bounding box (for screen navigation) unfortunately.
Does Google provide this property data in some form?
Thanks
Having looked through the Maps APIs fairly extensively and no one suggesting otherwise. I think it's pretty conclusive Google Maps does not provide property boundaries.
The best way to go is to look for a service that does have the data to integrate into Maps, but likely costs money.
As an example these may be:
Your local government's land services
RPData.com - http://www.rpdata.com/residential_property_information/residential_property_information.html
ReportAllUSA.com (if you are American) - http://reportallusa.com/
None of these are guaranteed, looking into them myself, but may also be different from person to person depending on costs. If I find a free one, I'll give a shout.
For anyone looking to implement this on Australian Region.
State & Local councils have open data free for usage.
I am working with Brisbane, QLD Australia:
For Brisbane: https://www.data.brisbane.qld.gov.au/data/dataset?q=parcel
For QLD: https://www.data.qld.gov.au/dataset?q=parcel
P.S parcel dataset contains information about individual Property Listings. It does have a learning curve & takes sometime to use open data.
I want to use the Google Maps v3 api to generate an interactive Google Map interface that uses custom tiles for a map from a video game. The app needs to be able to zoom-in out and display the proper tiles for each zoom level as well.
I'm looking for some resources or a tutorial on how to accomplish this. The Google Maps v3 API appears to only discuss using custom tiles that lay on top of the normal Google Maps tiles. That wouldn't make sense in my application since my map is for a fictional world and wouldn't line up with anything in the real world maps. Perhaps I'm just not seeing what I need in the API guide...
Check out the ImageMapType class in the reference. There's a nifty example showing Moon tiles.
One of my favourite applications is The Internet map, the developer wrote a pretty sweet article on how it was developed.
You need to either cut up your custom game map image into the appropriate file/directory structure that makes integration into Maps API easy (here's an example using Photoshop and some example HTML/JS code). Or use a more friendly tool like TileMill, but this expects data in a standard spatial data format and you probably don't have your game map stored in such a format. If you can go that route, they also provide a Node.js-based server called TileServe that makes integration a cinch.
If you are expecting a boatload of traffic, then maybe look at Google Maps Engine to host your custom game map image directly in Google's infrastructure.
I'm trying to set a border around some districts in the UK, similar to how Google do it on here : http://g.co/maps/wbtj3
Does Google release the latitude and longitude data for districts? I cannot see anything in the API which will allow me to search for a district and get the data for it to display on the map.
Is there an easy way to "extract" the latitude and longitude data for a district for use in an polygon?
It seems that American data is easier to find (http://econym.org.uk/gmap/states.xml) or am I not looking hard enough?
Appreciate any advice :).
Edit: I believe it's pretty new as I can't find much info about it "highlighted search results" - http://googlemapsmania.blogspot.com/2012/01/highlighted-search-results-in-google.html
OpenStreetMap has boundary data for English Counties which are free to use and available in multiple formats.
As far as I know, Google does not provide any underlying map data via an API.
Getting co-ordinates for a polygon would require GIS files and a GIS software like MapInfo to read.
My advice would be visit this site;
http://bbs.keyhole.com/ubb/ubbthreads.php?ubb=showthreaded&Number=332073
Download the KML file which has the district boundaries of UK counties and then use it in either google earth or fusion tables.
Finding out what your using these for may help get a better answer...
I think you'd have to figure out the polygon coordinates yourself. If it was only for a few districts, maybe not such an onerous task. But if it's for the whole of the UK... Here's a website that will quickly give you coordinates as you draw polygons:
http://www.birdtheme.org/useful/v3tool.html
afaik google doesn't offer such service in his APIs. But you could download you file of interest here: http://www.gadm.org/country
if you grab it as kml, you could easily import it into Google-Maps.
Just came across this thread - you may have solved the problem a long time ago, but this may be useful:
http://mapit.mysociety.org/
when i went through the source code of the google maps page i've realized that the whole map is formed by small tiles of images. But how does the javascript identifies the roads on the google maps to show the way from ourlocation to destination??
I couldn't tell you HOW it works, it is a very complex application but all the work is done on the server and the reason the page shows the map as images is purely down to the limited ways in which a browser can display content.
Google have several layers with information about streets, roads, etc... when you use google maps only show a "graphical representation" of their data in bitmap format, but they need a "vectorial" layer that we don't see it.
Calculate routing is a very complex infraestructure problem in GIS server, for example, with Geoserver and PostGIS you can use Dijkstra Routing with Pgdijkstra.
It's very complex question, for a short answer.
how do I add a wms layer to a bing map using javascript? anyone know any good examples?
Typically I've used a proxy service that translates the quad key to the proper coordinates of the wms. A good start for writing such a proxy service in C# as a web handler can be found here: http://www.viawindowslive.com/Articles/VirtualEarth/AccessingWMSfromVirtualEarth.aspx
The problem lies in the way that bings maps requires you to specify a tile url. If you're not locked into bing maps, this sort of thing is much easier with Google Maps version 2.0 or Open layers as the above poster suggested.
if you have to use WMS for the tile server, then I would seriously look at OpenLayers.
This is excellent at mixing different toolkits and formats. Eg. putting KML overlays over WMS, or (as in your case) WMS over Bing Maps.
If you have your own choice of tile server and you have rasters, then I would use MapCruncher instead and load it natively in Bing Maps.