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 pakietu Maps SDK na iOS, sposób jego włączania, a następnie sposób wysyłania uwierzytelnionych żądań.
checklist
Sprawdź, czy spełniasz wymagania wstępne.
settings
włączyć pakiet SDK w projekcie Google Cloud;
verified_user
Skonfiguruj klucz interfejsu API do użycia z pakietem Maps SDK na iOS.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["An API key is a unique identifier that authenticates requests associated with your project for usage and billing purposes, and you must have at least one for your project."],["You can create an API key through the Google Cloud Console or by using the Cloud SDK."],["Google strongly recommends restricting your API keys to enhance security by limiting their usage to only the necessary APIs for your application."],["You can restrict API keys by application and API, with application restrictions taking precedence."],["Once you have obtained your API key, you can proceed to create and configure your Xcode project for Maps SDK for iOS."]]],["API keys authenticate project requests for usage and billing. To create one, navigate to the Google Maps Platform Credentials page and click \"Create credentials \u003e API key\", or use the `gcloud services api-keys create` command. Restricting keys is vital for security; use the console or `gcloud` commands to limit usage by selecting the \"Maps SDK for iOS\" and specifying iOS bundle identifiers. Remember, you are liable for charges from unrestricted key abuse.\n"]]