数日前、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'
]
}
誰かが私の間違いを教えてもらえますか?
たくさんあります。