Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
In diesem Dokument werden die Voraussetzungen für die Verwendung der Maps JavaScript API beschrieben. Außerdem wird erläutert, wie Sie die API aktivieren und eine authentifizierte Anfrage senden.
checklist
Prüfen Sie, ob Sie die Voraussetzungen erfüllen.
settings
Aktivieren Sie die API in Ihrem Google Cloud-Projekt.
verified_user
API-Schlüssel für eine authentifizierte API-Anfrage konfigurieren
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-24 (UTC)."],[[["Google Maps Platform requires an API key for authentication and billing purposes, associating your project with a unique alphanumeric string."],["You can create and manage API keys via the Google Cloud Console or the Cloud SDK, enabling access and specifying restrictions for security."],["Restricting API keys is highly recommended, limiting usage to specific applications and websites for enhanced security."],["Include your API key in every Maps JavaScript API request, replacing `YOUR_API_KEY` in the provided script snippet."]]],["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"]]