Nowy styl mapy będzie wkrótce dostępny w Google Maps Platform. Ta aktualizacja stylu mapy obejmuje nową domyślną paletę kolorów oraz ulepszenia ułatwiające obsługę i łatwość obsługi map. Wszystkie style mapy zostaną automatycznie zaktualizowane w marcu 2025 r. Więcej informacji o dostępności i sposobie włączania tej funkcji znajdziesz w artykule Nowy styl mapy w Google Maps Platform.
Dzięki znacznikom zaawansowanym możesz dostosować tło, obramowanie, tekst glifu i zachowanie przy kolizjach domyślnego znacznika oraz zastąpić jego ikonę niestandardową grafiką.
Pierwsze kroki
Zaawansowane znaczniki wymagają prawidłowego identyfikatora mapID. Identyfikator mapy to niepowtarzalny identyfikator, który reprezentuje pojedynczą instancję Mapy Google. Identyfikatory map możesz tworzyć i aktualizować w dowolnym momencie w konsoli Google Cloud.
[null,null,["Ostatnia aktualizacja: 2025-02-25 UTC."],[[["Advanced markers let you customize the marker's appearance, including background, border, text, and icon, using a custom graphic image or built-in styles."],["To use advanced markers, you need a valid mapID, which is a unique identifier for your Google Map and can be created in the Google Cloud console."],["While a mapID is required for production, you can use the `DEMO_MAP_ID` for testing purposes in your app code."],["Advanced markers are only supported in Google Maps SDK 8.0.0 for iOS 14+ and are not available for iOS 13 and below."]]],["Advanced markers allow customization of default markers, including background, border, glyph text, collision behavior, and custom icons. They require a valid map ID, created in the Google Cloud console, to uniquely identify a Google Map instance. Testing can utilize the `DEMO_MAP_ID`, but it's not for production. The capabilities were introduced in Google Maps SDK 8.0.0, supporting iOS 14 and above. You can select documentation from Android, iOS and JavaScript platforms.\n"]]