admin管理员组

文章数量:1400201

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 pletely 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

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 pletely 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

Share Improve this question edited Jan 7, 2010 at 22:25 bkritzer asked Jan 7, 2010 at 22:20 bkritzerbkritzer 1,4164 gold badges16 silver badges27 bronze badges 5
  • 3 Do you realize how much local data you're talking? A street map for a single city takes about 100 MB. – Seva Alekseyev Commented Jan 7, 2010 at 22:21
  • Any particular reason to choose Javascript if it should to be "usable without internet"? – Rubens Farias Commented Jan 7, 2010 at 22:23
  • 1 How about a high resolution picture of the earth (1600x1200) in a scrolling div? Make the div 400x300. If you want to zoom in, scale picture dimensions appropriately. – Seth Commented Jan 7, 2010 at 22:26
  • What functionality would you expect offline? For example you could cache a small area of the Earth, and only have that available offline. Or of course you could cache the lowest level of detail for the whole world (and I do mean really low level of detail if you want to do that) and cache specific areas in higher detail. If you want the entire earth that's a lot of data. it turns out that the planet is quite big – Martin Commented Jan 7, 2010 at 22:49
  • @EDIT:: Ironically a streetmap is probably easier. terrain data is continuous wheras streets are vector data. So streets are a much smaller data format! – Martin Commented Jan 7, 2010 at 22:50
Add a ment  | 

2 Answers 2

Reset to default 4

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 unpressed!

For topography, you could try GLOBE.

本文标签: javascriptInteractive world mapStack Overflow