Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
W tym dokumencie opisujemy wymagania wstępne dotyczące korzystania z interfejsu Maps JavaScript API, sposób jego włączania, a potem sposób wysyłania uwierzytelnionego żądania.
checklist
Sprawdź, czy spełniasz wymagania wstępne.
settings
włączyć interfejs API w projekcie Google Cloud,
verified_user
skonfigurować klucz interfejsu API, aby wysyłać uwierzytelnione żądania interfejsu API;
[null,null,["Ostatnia aktualizacja: 2025-08-06 UTC."],[],["Google Maps Platform requires API keys for authentication and billing. To create an API key, navigate to the Google Maps Platform Credentials page and select \"Create credentials \\\u003e API key.\" Restricting API keys to specific applications and APIs is strongly recommended for security and to prevent financial abuse. This can be done via the console or Cloud SDK by setting application and API restrictions. Finally, include the API key in every Maps JavaScript API request.\n"],null,[]]