Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーのGPS位置に基づいて近くのホテルリストを取得するために、標準APIを使用することを提案してください。
前もって感謝します
Google Places APIを使用すると、 Places Search リクエストを実行してlocation、ユーザーの緯度、経度、およびtypes=lodgingホテルを検索できます。
location
types=lodging
https://maps.googleapis.com/maps/api/place/search/json?location=-33.8670522,151.1957362&radius=500&types=lodging&sensor=false&key=YOUR_API_KEY
サービスを使用するには、こちらの手順に従ってAPI キーを取得する必要があります。