Pierwsze kroki
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zanim będzie można używać preferowanych metod interfejsu API tras
kod, musisz je włączyć.
Aby włączyć preferowane metody interfejsu API tras w projekcie:
Zaloguj się w konsoli Cloud.
i otwórz kartę wyboru projektu:
![Wybierz kartę wyboru projektu](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/project_selection.png?authuser=0&hl=pl)
W oknie Wybierz z kliknij Nowy projekt.
![Wybierz nowy projekt](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/new_project.png?authuser=0&hl=pl)
Podaj nazwę i lokalizację projektu, a potem kliknij Utwórz.
![Utwórz projekt](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/create_project.png?authuser=0&hl=pl)
Skontaktuj się z przedstawicielem Google.
Jeśli nie masz jeszcze włączonego preferowanego interfejsu Routes Preferred API dla
swojego projektu, przejdź do interfejsów API Biblioteka usług w konsoli Google Cloud.
Jeśli opcja Preferowane trasy jest już włączona, możesz pominąć ten krok.
![Otwórz bibliotekę](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/navigate_library.png?authuser=0&hl=pl)
Następnie wyszukaj Preferowane trasy, aby otworzyć preferowany interfejs API tras.
![Otwarty interfejs API](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/open_api.png?authuser=0&hl=pl)
Aby go włączyć, wybierz Włącz.
Jeśli nie masz jeszcze klucza interfejsu API powiązanego ze swoim projektem,
otwórz kartę Dane logowania. Możesz pominąć ten krok, jeśli
mają klucz interfejsu API.
![Przejdź na kartę Dane logowania](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/go_credentials.png?authuser=0&hl=pl)
Wybierz Utwórz dane logowania, a następnie Klucz interfejsu API.
![Wybierz klucz interfejsu API](https://developers-dot-devsite-v2-prod.appspot.com/static/maps/documentation/routes_preferred/images/api_key.png?authuser=0&hl=pl)
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-05 UTC.
[[["Ł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: 2024-08-05 UTC."],[[["To utilize Routes Preferred API, you must first enable it for your project through the Google Cloud console."],["Enabling the API involves creating a new project, contacting your Google representative, and enabling the Routes Preferred API in the API library."],["Make sure to check and adjust your quota limits as needed and create an API key for your project to use the Routes Preferred API."]]],[]]