问题描述
这里已经有很多 Google Maps API Places 信息,但这里有一个演示,它展示了很多人似乎遇到的很多问题,遗憾的是它仅适用于 Chrome(至少不适用于 Firefox 或 IE)).
There's a lot of Google Maps API Places info on here already, but here's a demo which show a lot of what many people seem to be having problems with, sadly though it only works in Chrome (at least not in Firefox or IE).
http://gmaps-samples-v3.googlecode.com/svn/trunk/places/2012-may-hangout/search.html
谁能解释一下为什么?它有很多不必要的东西,比如标记的动画删除,但有一个很好的例子来说明 google.maps.places.RankBy.DISTANCE 之间的区别;和 google.maps.places.RankBy.PROMINENCE;在带有类型图标的表格中显示有序标记和结果.
Can anyone explain why? it has a lot of unnecessary things like animated dropping of markers, but has a really good example of the difference between google.maps.places.RankBy.DISTANCE; and google.maps.places.RankBy.PROMINENCE; presenting ordered markers and reasults in a table with type icons.
推荐答案
我刚刚访问了您问题中的链接,使用 IE8,它似乎运行良好:
I just visited the link in your question, using IE8, and it seems to run fine:
您在 IE 中遇到了什么问题?
What is the problem you are having in IE?
这篇关于Google 地图 api 3 与地方 DEMO 仅适用于 Chrome ......为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!