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
2 Answers
Reset to default 4You 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
版权声明:本文标题:javascript - Interactive world map - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744183609a2594184.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论