如何在 arc2earth 中使用谷歌地图 api v3?
我已经使用 arc2earth 导入了谷歌地图街道图层并生成了一个新的图层,然后我使用 google api v3 在网站上显示了它,而我生成的街道图层与谷歌地图街道图层不匹配,并且发生了这种情况因为 arc2earth 使用 google api v2 中的地图。没有人相信我。我与 arc2earth 和 google 支持人员交谈过,两者都说地图是相同的。
但我有证据: 例如,在这个位置,很明显它们有多么不同: 19.369818,-99.261531 (墨西哥城)
您可以在此处查看 v2: http://gmaps-samples.googlecode.com/svn/trunk/geocoder/v2-geocoder-tool.html#q%3D19.369818%2C-99.261531(请放大)
以及官方谷歌地图页面中的 v3: <一href="http://maps.google.com/maps?q=19.368376,-99.263443&hl=en&ll=19.369684,-99.261244&spn =0.00143,0.002411&sll=19.369722,-99.261295&sspn=0.00144,0.002411&vpsrc=6&t=m&z=19" rel="nofollow">http://maps.google.com/maps?q=19.368376,-99.263443&hl=en&ll=19.369684,-99.261244& spn=0.00143,0.002411&sll=19.369722,-99.261295&sspn=0.00144,0.002411&vpsrc=6&t=m&z=19
I've imported the google maps street layer with arc2earth and produced a new one, and I show it in a web site with the google api v3 and the streets layer generated by me doesn't match the google maps street layer, and that happens because arc2earth uses the maps from the google api v2. And nobody believes me. I've talked with arc2earth and google support, and both say that the maps are the same.
But I have proofs:
for example in this location it is very clear how different they are:
19.369818,-99.261531
(mexico city)
You can check the v2 here:
http://gmaps-samples.googlecode.com/svn/trunk/geocoder/v2-geocoder-tool.html#q%3D19.369818%2C-99.261531 (zoom in please)
and the v3 in the official google maps page:
http://maps.google.com/maps?q=19.368376,-99.263443&hl=en&ll=19.369684,-99.261244&spn=0.00143,0.002411&sll=19.369722,-99.261295&sspn=0.00144,0.002411&vpsrc=6&t=m&z=19
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
回答:
A2E社区版(试用版)使用v2地图。所有付费版本均使用 v3 地图。
Answer:
The A2E community edition(Trial) uses the v2 maps. All the paid editions uses the v3 maps.