【发布时间】:2012-04-08 21:58:46
【问题描述】:
可能重复:
Google Places Api subway and train station search in Russia stopped working
几天前,我正在测试(使用)一个应用程序,在该应用程序中,我使用 google places API 获得了最近的地铁站,但是昨天和今天我再次测试了我的应用程序,现在我无法靠近地铁站我。
我正在阅读https://developers.google.com/maps/documentation/places/supported_types 和google 允许使用地铁站类型,当我使用医院、商店和公园等其他类型时应用程序工作!
我下载了这个 -> http://github.com/brendannee/walksy
在我写的 Jscript 文件上
placesService.search({
radius: 4000
, location: trip.start
, types: [
'train_station'
, 'bus_station '
, 'subway_station'
]
}
而不是
placesService.search({
radius: 5000
, location: trip.start
, types: [
'amusement_park'
, 'aquarium'
, 'bowling_alley'
, 'casino'
, 'cemetery'
, 'city_hall'
, 'embassy'
, 'museum'
, 'natural_feature'
, 'park'
, 'stadium'
, 'zoo'
, 'point_of_interest'
]
}
谁能告诉我我的错误是什么?
非常感谢。
【问题讨论】:
标签: javascript google-maps google-places-api