Com os Marcadores Avançados, é possível personalizar o plano de fundo, a borda, o texto do glifo e o comportamento de colisão do marcador padrão, além de substituir o ícone dele por uma imagem personalizada.
Primeiros passos
Os Marcadores Avançados exigem um mapID válido. Um ID de mapa é um identificador exclusivo que representa uma única instância de um mapa do Google. É possível criar IDs de mapa e atualizar um estilo associado a eles a qualquer momento no Console do Google Cloud.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eAdvanced markers let you customize the marker's appearance, including background, border, text, and icon, using a custom graphic image or built-in styles.\u003c/p\u003e\n"],["\u003cp\u003eTo 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.\u003c/p\u003e\n"],["\u003cp\u003eWhile a mapID is required for production, you can use the \u003ccode\u003eDEMO_MAP_ID\u003c/code\u003e for testing purposes in your app code.\u003c/p\u003e\n"],["\u003cp\u003eAdvanced markers are only supported in Google Maps SDK 8.0.0 for iOS 14+ and are not available for iOS 13 and below.\u003c/p\u003e\n"]]],["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"],null,["Select platform: [Android](/maps/documentation/android-sdk/advanced-markers/overview \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/advanced-markers/overview \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/advanced-markers/overview \"View this page for the JavaScript platform docs.\")\n\n\u003cbr /\u003e\n\nWith advanced markers you can customize the default marker's background, border,\nglyph text, collision behavior and replace the default marker icon with a custom\ngraphic image.\n\n| **Important:** Advanced marker capabilities were released in Google Maps SDK 8.0.0 for iOS 14+. Versions iOS 13 and below are not supported in Google Maps SDK 8.0.0.\n\nGetting started\n\nAdvanced markers require a valid [mapID](/maps/documentation/get-map-id). A map\nID is a unique identifier that represents a single instance of a Google Map. You\ncan create map IDs and update a style associated with a map ID at any time in\nthe [Google Cloud console](/maps/documentation/ios-sdk/cloud-setup).\n\n| **Important:** For testing, you can skip the step of creating and configuring a [map\n| ID](/maps/documentation/get-map-id), by using mapId: [`DEMO_MAP_ID`](/maps/documentation/ios-sdk/reference/objc/Classes/GMSMapID) in your app code. `DEMO_MAP_ID` is intended for testing purposes only. Don't use `DEMO_MAP_ID` in a production environment."]]