ปรับแต่งแผนที่
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
คุณมีตัวเลือกหลายอย่างในการปรับแต่งแผนที่ Google Maps Platform (GMP) วิธีการส่วนใหญ่เหล่านี้กำหนดให้คุณต้องใช้รหัสแผนที่เพื่อเข้าถึงฟีเจอร์การปรับแต่งแผนที่ต่างๆ
นอกจากนี้ คุณยังปรับแต่งแผนที่ GMP ด้วยตนเองได้โดยใช้การจัดรูปแบบ JSON
ปรับแต่งแผนที่ด้วยรหัสแผนที่
รหัสแผนที่เป็นตัวระบุที่ไม่ซ้ำกันซึ่งแสดงถึงอินสแตนซ์เดียวของ Google
Map รหัสแผนที่จะจำกัดไว้สำหรับแพลตฟอร์มเดียว ได้แก่ JavaScript, Android, iOS หรือ
แผนที่แบบคงที่ คุณเชื่อมโยงรหัสแผนที่กับโปรเจ็กต์ และใช้รหัสแผนที่เพื่อเปิดใช้
ฟีเจอร์ หรือจัดการหรือจัดรูปแบบแผนที่ในเว็บไซต์และแอปพลิเคชันได้ โปรดดูรายละเอียดที่ภาพรวมรหัสแผนที่
ปรับแต่งด้วยรหัสแผนที่และการจัดรูปแบบแผนที่ในระบบคลาวด์
การจัดรูปแบบแผนที่ในระบบคลาวด์ช่วยให้คุณใช้รหัสแผนที่และรูปแบบแผนที่เพื่อสร้าง
ประสบการณ์แผนที่ถนนที่ปรับแต่งแล้วสำหรับผู้ใช้ จากนั้นคุณสามารถอัปเดตสไตล์ตามที่ต้องการใน Cloud Console โดยไม่ต้องอัปเดตโค้ดของแอป โปรดดูรายละเอียดที่การจัดรูปแบบแผนที่ในระบบคลาวด์
ปรับแต่งแผนที่ด้วยตนเองโดยใช้การจัดรูปแบบ JSON
การปรับแต่งแผนที่ด้วยตนเองช่วยให้คุณจัดรูปแบบประเภทแผนที่ปกติได้ และไม่
ต้องใช้รหัสแผนที่ การอัปเดตสไตล์จะต้องมีการอัปเดตโค้ด คุณไม่สามารถ
รวมการจัดรูปแบบแผนที่ด้วยตนเองและการจัดรูปแบบแผนที่ในระบบคลาวด์ไว้ในแอปเดียวกันได้
หากต้องการปรับแต่งแผนที่ด้วยตนเองโดยใช้การจัดรูปแบบ JSON โปรดดู
เพิ่มแผนที่ที่จัดรูปแบบ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-05 UTC
[null,null,["อัปเดตล่าสุด 2025-09-05 UTC"],[[["\u003cp\u003eMap customization in Google Maps Platform (GMP) can be achieved through map IDs or manual JSON styling.\u003c/p\u003e\n"],["\u003cp\u003eMap IDs are unique identifiers representing a single instance of a Google Map, restricted to a specific platform.\u003c/p\u003e\n"],["\u003cp\u003eCloud-based maps styling utilizes map IDs and styles, allowing for updates in the Cloud console without app code modifications.\u003c/p\u003e\n"],["\u003cp\u003eManual map customization with JSON styling styles the standard map type, but requires code updates for style changes and cannot be combined with cloud-based styling.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/maps/documentation/android-sdk/map-ids/customize-maps-overview \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/map-ids/customize-maps-overview \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/map-ids/customize-maps-overview \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/maps-static/map-ids/customize-maps-overview \"View this page for the Web Service platform docs.\")\n\n\u003cbr /\u003e\n\nYou have several options for customizing Google Maps Platform (GMP) maps. Most of\nthese methods require you to use a map ID to access several different map\ncustomization features. You can also manually customize GMP\nmaps using JSON styling,\n\nCustomize maps with map IDs\n\nA map ID is a unique identifier that represents a single instance of a Google\nMap. Map IDs are restricted to a single platform--JavaScript, Android, iOS, or\nStatic maps. You associate map IDs with a project, and can use map IDs to enable\nfeatures or manage or style maps on your websites and in your applications. For\ndetails, see [Map ID overview](/maps/documentation/maps-static/map-ids/mapid-over).\n\nCustomize with map IDs and Cloud-based maps styling\n\nWith cloud-based maps styling, you use map IDs and map styles to create a\ncustomized road map experience for your users. You can then update the style as\nneeded in the Cloud console, without having to update your apps' code. For\ndetails, see [Cloud-based maps styling](../cloud-customization/index).\n\nCustomize maps manually with JSON styling\n\nManually customizing maps lets you style the normal map type, and does not\nrequire a map ID. Any updates to the style require a code update. You cannot\ncombine manual map styling and cloud-based maps styling in the same app.\n\nTo customize a map manually using JSON styling, see\n\n[Add a styled map](../styling)."]]