Bạn có một số lựa chọn để tuỳ chỉnh bản đồ Google Maps Platform (GMP). Hầu hết các phương thức này đều yêu cầu bạn sử dụng mã bản đồ để truy cập vào một số tính năng tuỳ chỉnh bản đồ. Bạn cũng có thể tuỳ chỉnh bản đồ GMP theo cách thủ công bằng cách sử dụng kiểu JSON,
Tuỳ chỉnh bản đồ bằng mã bản đồ
Mã bản đồ là giá trị nhận dạng duy nhất đại diện cho một phiên bản duy nhất của Google Maps. Mã bản đồ chỉ được dùng cho một nền tảng duy nhất – JavaScript, Android, iOS hoặc Bản đồ tĩnh. Bạn liên kết mã bản đồ với một dự án và có thể dùng mã bản đồ để bật các tính năng hoặc quản lý hay tạo kiểu cho bản đồ trên trang web và trong ứng dụng của mình. Để biết thông tin chi tiết, hãy xem bài viết Tổng quan về mã bản đồ.
Tuỳ chỉnh bằng mã bản đồ và tính năng định kiểu bản đồ dựa trên đám mây
Với tính năng định kiểu bản đồ dựa trên đám mây, bạn có thể sử dụng mã bản đồ và kiểu bản đồ để tạo trải nghiệm bản đồ đường đi tuỳ chỉnh cho người dùng. Sau đó, bạn có thể cập nhật kiểu khi cần trong Cloud Console mà không cần phải cập nhật mã của ứng dụng. Để biết thông tin chi tiết, hãy xem phần Định kiểu bản đồ dựa trên đám mây.
Tuỳ chỉnh bản đồ theo cách thủ công bằng cách tạo kiểu JSON
Việc tuỳ chỉnh bản đồ theo cách thủ công cho phép bạn tạo kiểu cho loại bản đồ thông thường và không yêu cầu mã bản đồ. Mọi nội dung cập nhật về kiểu đều yêu cầu cập nhật mã. Bạn không thể kết hợp tính năng định kiểu bản đồ theo cách thủ công và tính năng định kiểu bản đồ dựa trên đám mây trong cùng một ứng dụng.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-17 UTC."],[[["\u003cp\u003eGoogle Maps Platform offers various customization options, including using map IDs and JSON styling.\u003c/p\u003e\n"],["\u003cp\u003eMap IDs are unique identifiers for Google Maps, enabling features and styling management within projects.\u003c/p\u003e\n"],["\u003cp\u003eCloud-based maps styling, coupled with map IDs, allows for dynamic customization through the Cloud Console without code updates.\u003c/p\u003e\n"],["\u003cp\u003eManual customization using JSON styling directly modifies map appearance but necessitates code updates for any changes.\u003c/p\u003e\n"],["\u003cp\u003eYou can't combine manual JSON styling and cloud-based styling on the same map.\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/javascript/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[JSON map styling](../json-styling-overview)."]]