จัดการสไตล์ที่ทับซ้อนกัน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ในแผนที่ฐาน ฟีเจอร์บางอย่างของแผนที่จะทับซ้อนกันที่ระดับการซูมบางระดับ
เมื่อเกิดการทับซ้อน คุณอาจไม่เห็นรูปแบบที่กำหนดเองปรากฏขึ้น
เนื่องจากรูปแบบองค์ประกอบแผนที่อื่นบดบังรูปแบบ
ที่คุณตั้งค่าไว้ทั้งหมดหรือบางส่วน หากฟีเจอร์แผนที่ที่ซ้อนทับกันมีความโปร่งใสบางส่วน ระบบจะเปลี่ยนสี
หากคุณกำลังจัดรูปแบบฟีเจอร์แผนที่และไม่เห็นการเปลี่ยนแปลงปรากฏขึ้น
อาจเป็นเพราะมีฟีเจอร์แผนที่ที่ทับซ้อนกันอยู่ โดยมีตัวอย่างดังนี้
ฟีเจอร์แผนที่ทับซ้อนกันโดยสมบูรณ์: ฟีเจอร์แผนที่ POI>เขตอนุรักษ์ธรรมชาติ
อาจทับซ้อนกับฟีเจอร์แผนที่ Natural>Vegetation เช่น หากคุณ
กำลังจัดรูปแบบอุทยานแห่งชาติ เยลโลว์สโตนจะไม่แสดงรูปแบบเขตอนุรักษ์ธรรมชาติ
เนื่องจากฟีเจอร์แผนที่พืชพรรณครอบคลุมพื้นที่ดังกล่าว

อีกตัวอย่างหนึ่งคือที่จอดรถบางแห่งมีฟีเจอร์แผนที่ของที่จอดรถ
และอาคารที่ซ้อนทับกัน
ฟีเจอร์แผนที่โปร่งใสทับซ้อนกับฟีเจอร์อื่น: หากฟีเจอร์แผนที่โปร่งใสทับซ้อนกับฟีเจอร์แผนที่อื่น ฟีเจอร์ดังกล่าวจะปรากฏเป็นภาพซ้อนที่ระดับการซูมบางระดับ ตัวอย่างเช่น รูปภาพ 2 รูปนี้แสดงโรงพยาบาล
ที่จัดรูปแบบเป็นสีแดง ในภาพแรก รูปแบบฟีเจอร์แผนที่อาคารจะซ้อนทับฟีเจอร์แผนที่โรงพยาบาล แต่จะมีความโปร่งแสงบางส่วน จึงทำให้สีเปลี่ยนแปลง
ในรูปภาพที่ 2 ระดับการแชร์ของฟีเจอร์แผนที่อาคารปิดอยู่
จึงแสดงรูปแบบที่เลือกไว้ ซึ่งก็คือสีแดงทึบ

ค้นหาฟีเจอร์แผนที่ที่ทับซ้อนกัน
หากต้องการทราบว่าฟีเจอร์แผนที่ที่ซ้อนทับกันรายการใดส่งผลต่อผลการค้นหา ให้ทำตามขั้นตอนต่อไปนี้
หากคุณทราบว่าฟีเจอร์แผนที่ที่ทับซ้อนกันคืออะไร ให้ปิดระดับการมองเห็นสำหรับฟีเจอร์แผนที่ที่สงสัยว่าทับซ้อนกัน แล้วดูว่าสไตล์ปรากฏตามที่คาดไว้หรือไม่
ลองปิดฟีเจอร์ที่น่าสงสัยที่สุด เช่น อาคารหรือธรรมชาติ
หากยังไม่พบ ให้เริ่มโดยปิดระดับการมองเห็นใน
ฟีเจอร์แผนที่ระดับบนสุดอื่นๆ ทีละรายการ แล้วดูแผนที่เมื่อ
การจัดรูปแบบปรากฏตามที่คาดไว้
เมื่อจำกัดให้เหลือฟีเจอร์ระดับบนสุดแล้ว ให้ทดสอบฟีเจอร์แผนที่
ภายใต้ฟีเจอร์นั้นเพื่อระบุฟีเจอร์ที่ซ้อนทับกัน
จัดการฟีเจอร์แผนที่ที่ทับซ้อนกัน
เมื่อทราบว่าฟีเจอร์แผนที่ใดที่ทับซ้อนกันแล้ว คุณจะมีตัวเลือกดังนี้
ปิดระดับการมองเห็นในฟีเจอร์แผนที่ที่ซ้อนทับกัน: การเปลี่ยนแปลงนี้
จะนำฟีเจอร์แผนที่ออกจากแผนที่
จัดรูปแบบฟีเจอร์ที่ซ้อนทับด้วย: การจัดรูปแบบฟีเจอร์แผนที่ที่ซ้อนทับจะเปลี่ยนฟีเจอร์อื่นที่ไม่ใช่ฟีเจอร์ที่คุณต้องการ เพื่อให้การจัดรูปแบบเข้ากันได้กับรูปแบบที่คุณต้องการเปลี่ยนหรือเพิ่ม
จัดรูปแบบฟีเจอร์ที่ทับซ้อนกันแทน: หากตรงกับความต้องการ ให้จัดรูปแบบฟีเจอร์ที่ทับซ้อนกันแทนฟีเจอร์แผนที่เดิม
ปล่อยให้ซ้อนทับกัน: ดังตัวอย่างโรงพยาบาลด้านบน บางครั้งการปล่อยให้เอฟเฟกต์การซ้อนทับทำงานต่อไปก็เป็นทางเลือกที่ดีกว่าการปิดระดับการมองเห็นของอาคารทั้งหมด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 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."]]