重なっているスタイルを管理する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
基本地図では、地図上の一部の対象物が特定のズームレベルで重なって表示されます。そのような場合、ご自身がカスタマイズしたスタイルが、別の地図対象物のスタイルで完全にまたは部分的に覆い隠されて表示されなくなることがあります。重なっている地図対象物が半透明な場合は、色が変化します。
地図対象物のスタイルを設定しても変更が反映されない場合は、別の地図対象物が重なっている可能性があります。以下に例を挙げます。
地図対象物が完全に重なっている: 地図対象物の [スポット] > [自然保護区] が、[地勢] > [植生] の地図対象物と重なることがあります。たとえば、国立公園のスタイルを設定している場合、イエローストーンでは、地図対象物「植生」で覆われているため、「自然保護区」のスタイルが表示されません。

別の例は、「駐車場」と「建物」の地図対象物が重なっている屋内駐車場です。
透明な地図対象物が他の対象物と重なっている: 透明な地図対象物が別の地図対象物と重なっている場合、一定のズームレベルではオーバーレイとして表示されます。たとえば、次の 2 つの画像では病院が赤のスタイルで表示されています。最初の例では、地図対象物「建物」のスタイルが「病院」に重なっていますが、半透明であるため、色が変化しています。2 つ目の画像では、地図対象物「建物」の [公開設定] が [オフ] になっているため、選択したスタイル(赤色の塗りつぶし)が表示されています。

重なっている地図対象物を特定する
表示結果に影響する、重なっている地図対象物を特定する方法は次のとおりです。
重なっている地図対象物が分かっている場合は、その対象物について [公開設定] を [オフ] にして、スタイルが想定どおりに表示されるかどうかを確認します。
建物や地勢など、最も疑わしい項目の公開設定をオフにしてみます。
それでも特定できない場合は、他の最上位の地図対象物の [公開設定] を順番に [オフ] にして、スタイルが期待どおりに表示されるか地図を観察します。
最上位の対象物まで絞り込んだら、その下位にある地図対象物をテストして、重なっている対象物(複数の可能性もあり)を特定します。
重なっている地図対象物を管理する
重なっている地図対象物がわかったら、次のいずれかを行えます。
重なっている地図対象物の公開設定をオフにする: この変更により、地図から地図対象物が削除されます。
重なっている対象物のスタイルも設定する: 変更または追加するスタイルと適合するように、重なっている地図対象物のスタイルも設定します。
重なっている対象物のスタイルを代わりに設定する: ニーズに合う場合は、元の地図対象物の代わりに、重なっている対象物のスタイルを設定します。
重ねたままにする: すべての建物の公開設定をオフにするのではなく、上の病院の例のようにオーバーレイ効果をそのままにしてもうまくいく場合があります。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-27 UTC。
[null,null,["最終更新日 2025-08-27 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."]]