替代 Google 的 GeoMap
是否有一个像样的非 Flash 替代 Google 的 地理地图?我正在尝试“推动”重绘,但因为它是 flash,所以必须运行回 Google,渲染 flash 对象,然后替换它。
Is there a decent non-flash replacement for Google's GeoMap? I'm trying to "push" redraws, but because it's flash it has to run back to Google, render a flash object, and then replace it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
Google 现在拥有 GeoChart,它是 GeoMap 的替代品。它创建 SVG,并且在自定义方面具有更大的灵活性,例如更改地图的背景颜色等。
http://code.google.com/apis/chart/interactive/docs/gallery/geochart.html
Google now has the GeoChart which is the replacement to GeoMap. It creates an SVG and has more flexibility in terms of customization such as changing the background color of the map, etc, etc.
http://code.google.com/apis/chart/interactive/docs/gallery/geochart.html
恐怕没有一个免费的地图 API 能像这个一样好且易于使用。
我还在网上搜索了一些我可以使用的非 Flash 的东西,但我想我们必须等待一段时间,直到 html 5 开始运行,希望有一些东西会带着 canvas 标签从开发灌木丛中跳出来。
我希望这能回答你的问题。不过我会继续寻找。我已经坚持了3个月了。
I am afraid that there isn't a free map API as good as this and easy to use.
I've also scoured the web for something I could use that isn't flash but I suppose we have to wait a little while until html 5 gets going something will jump out of the dev bushes with a canvas tag hopefully.
I hope this answers your question. I'll keep looking though. I've been at it for 3 months.
一位 Google 员工刚刚告诉我他们正在研究HTML5 版本的 GeoMap API,但几个月后才会推出。
至于替代品,这是我能找到的最接近的,但不提供交互性、翻转或子区域: http://joncom.be/code/excanvas-world-map/
A Google employee just told me they're working on an HTML5 version of the GeoMap API, but it won't be available for a few months.
As for a replacement, this is the closest I could find, but doesn't offer interactivity, rollovers, or subregions: http://joncom.be/code/excanvas-world-map/
查看 http://jvectormap.owl-hollow.net/
它是 svg,跨浏览器完全兼容,几乎拥有 google geomaps 提供的所有内容。mit 非常容易实现,更像是一个 jquery 插件 amd 也来自 json。
Check out http://jvectormap.owl-hollow.net/
It is svg, fully compatible across browsers and has almost everything that google geomaps offers.mit is very easy to implement, more like a jquery plugin amd feeds from json as well.