Mapy Google Maps Platform (GMP) możesz dostosowywać na kilka sposobów. Większość tych metod wymaga użycia identyfikatora mapy, aby uzyskać dostęp do różnych funkcji dostosowywania mapy. Możesz też ręcznie dostosowywać mapy GMP za pomocą stylów JSON.
Dostosowywanie map za pomocą identyfikatorów map
Identyfikator mapy to niepowtarzalny identyfikator, który reprezentuje pojedynczą instancję Mapy Google. Identyfikatory map są ograniczone do jednej platformy: JavaScript, Android, iOS lub map statycznych. Identyfikatory mapy są powiązane z projektem. Możesz ich używać do włączania funkcji oraz zarządzania mapami i ich stylizowania w swoich witrynach i aplikacjach. Więcej informacji znajdziesz w omówieniu identyfikatorów map.
Dostosowywanie za pomocą identyfikatorów map i definiowania stylów map w Google Cloud
Dzięki definiowaniu stylów map w Google Cloud możesz używać identyfikatorów i stylów map, aby tworzyć dla użytkowników niestandardowe mapy drogowe. Następnie możesz w razie potrzeby zaktualizować styl w Cloud Console bez konieczności aktualizowania kodu aplikacji. Więcej informacji znajdziesz w artykule Definiowanie stylów map w Google Cloud.
Ręczne dostosowywanie map za pomocą stylów JSON
Ręczne dostosowywanie map umożliwia stylizowanie zwykłego typu mapy i nie wymaga identyfikatora mapy. Wszelkie aktualizacje stylu wymagają aktualizacji kodu. Nie możesz łączyć w tej samej aplikacji ręcznego definiowania stylów map i definiowania stylów map w Google Cloud.
Aby ręcznie dostosować mapę za pomocą stylu JSON, zapoznaj się z artykułem Dodawanie mapy ze stylem.
[[["Ł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-16 UTC."],[[["Google Maps Platform (GMP) maps can be customized through various methods, primarily using a map ID."],["Map IDs are unique identifiers associated with a project and a specific platform (JavaScript, Android, iOS, or Static maps) to enable features and manage map styles."],["Cloud-based maps styling allows for the use of map IDs and map styles to customize road maps, with the benefit of updating styles in the Cloud console without code changes."],["Manual map customization using JSON styling is available for styling the normal map type but does not require a map ID and necessitates code updates for any style changes."],["Cloud-based maps styling and manual map styling using JSON cannot be combined within the same application."]]],["Google Maps Platform (GMP) maps can be customized using map IDs or JSON styling. Map IDs, unique identifiers for a single map instance on a specific platform (Android, iOS, JavaScript, or Web Service), enable cloud-based styling and feature management via the Cloud console. JSON styling, which doesn't require a map ID, allows manual map styling but necessitates code updates for any changes. Cloud-based and manual styling cannot be combined. Select a platform to begin, or check out map ID overview and cloud-based map styling.\n"]]