Gerenciar estilos que se sobrepõem
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
No mapa de base, alguns elementos se sobrepõem em determinados níveis de zoom. Quando isso acontece, talvez um estilo personalizado não apareça porque outro estilo de elemento do mapa encobre total ou parcialmente o estilo que você definiu. Se o elemento do mapa sobreposto for parcialmente transparente, ele vai mudar de cor.
Se você está editando um elemento do mapa, mas as mudanças não aparecem, pode ser porque há um elemento sobreposto. Confira alguns exemplos:
Os elementos do mapa se sobrepõem completamente: o elemento PDI > Reserva natural se sobrepõe ao elemento Naturais > Vegetação. Por exemplo, se você está estilizando parques nacionais dos EUA, o Yellowstone nunca mostra Reserva natural porque o elemento Vegetação se sobrepõe.

Outro exemplo é que algumas garagens de estacionamento têm elementos sobrepostos de estacionamento e edifício.
Um elemento do mapa transparente se sobrepõe a outro: quando isso acontece, o elemento transparente aparece como sobreposição em alguns níveis de zoom. Por exemplo, essas duas imagens mostram hospitais estilizados em vermelho. Na primeira, o estilo de elemento do mapa Edifício se sobrepõe ao elemento Hospital, mas é semitransparente, por isso a cor muda.
Na segunda, a Visibilidade do elemento "Edifício" está Desativada, então o mapa mostra o estilo escolhido: um vermelho constante.

Encontrar elementos do mapa que se sobrepõem
Para descobrir quais elementos do mapa sobrepostos afetam seus resultados:
Se você suspeita qual é o elemento sobreposto, desative a Visibilidade dele e confira se o estilo aparece conforme o esperado.
Desative os suspeitos mais prováveis, como Edifício ou Naturais.
Se ainda assim não encontrar o elemento sobreposto, desative a Visibilidade dos outros elementos do mapa de nível superior e confira se o estilo aparece normalmente.
Depois de reduzir o mapa a um elemento de nível superior, teste os elementos abaixo dele para identificar quais estão sobrepostos.
Gerenciar elementos do mapa sobrepostos
Depois de descobrir quais elementos do mapa estão sobrepostos, você poderá:
Desativar a visibilidade do elemento sobreposto: essa mudança remove o elemento do mapa.
Estilizar também o elemento sobreposto: ao personalizar o elemento do mapa em sobreposição, você modifica um elemento diferente do pretendido para que o estilo dele fique mais compatível com o estilo que gostaria de mudar ou adicionar.
Estilizar apenas o elemento sobreposto: se necessário, personalize o elemento sobreposto em vez do original.
Manter a sobreposição: como no exemplo do hospital acima, manter o efeito de sobreposição às vezes funciona, em vez de desativar a visibilidade de todos os edifícios.
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-08-31 UTC.
[null,null,["Última atualização 2025-08-31 UTC."],[],[],null,["Select platform: [Android](/maps/documentation/android-sdk/cloud-customization/overlap \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/cloud-customization/overlap \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/cloud-customization/overlap \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/maps-static/cloud-customization/overlap \"View this page for the Web Service platform docs.\")\n\n\u003cbr /\u003e\n\nOn the base map, some map features overlap each other at certain\nzoom levels. When overlapping happens, you might not see a custom style appear\nbecause another map feature style completely or partially obscures the style\nyou set. If the overlapping map feature is partially transparent, it changes\nthe color.\n\nIf you are styling a map feature, and aren't seeing your changes appear,\nit may be because there is an overlapping map feature. Here are some examples:\n\n- **Map features completely overlap** : The map feature **POI\\\u003eNature Reserve**\n may overlap with a **Natural\\\u003eVegetation** map feature. For example, if you\n are styling national parks, Yellowstone never shows the **Nature Reserve**\n style because the **Vegetation** map feature covers it.\n\n Another example is some parking garages have map features of parking\n and building overlapping.\n- **A transparent map feature overlaps another** : If a transparent map feature\n overlaps another map features, it appears as an overlay\n at some zoom levels. For example, these two images show hospitals\n styled as red. In the first, the **Building** map feature style overlays the\n **Hospital** map feature, but is semi-transparent, so it alters the color.\n In the second image, the building map feature **Visibility** is **Off**,\n so it shows the chosen style--a solid red.\n\n\nFind map features that overlap\n\nTo figure out which overlapping map features affect your results,\ntake the following steps:\n\n1. If you have an idea what the overlapping map feature is, turn\n the **Visibility Off** for your suspected overlapping map feature, and\n see if your style appears as expected.\n\n2. Try turning off the most likely suspects, like **Building** or **Natural**.\n\n3. If you still haven't found it, start by turning **Visibility Off** on\n the other top-level map features in turn, watching the map for when\n your styling appears as expected.\n\n4. When you've narrowed it down to a top-level feature, test the map\n features under it to pinpoint the overlapping feature or features.\n\nManage overlapping map features\n\nOnce you figure out which map features are overlapping, you have a few choices:\n\n- **Turn visibility off on the overlapping map feature**: This change\n removes the map feature from the map.\n\n- **Style the overlapping feature as well**: By styling the overlapping\n map feature, you change a feature other than the one you intended so that\n its styling is more compatible with the style you want to change or add.\n\n- **Style the overlapping feature instead**: If it works for your needs,\n style the overlapping feature instead of the original map feature.\n\n- **Leave it overlapping**: As in the hospital example above, sometimes it\n works to leave the overlay effect, rather than turn off visibility for\n all buildings."]]