Khi muốn cập nhật một kiểu đang được sử dụng trong quá trình phát hành công khai, trước tiên, bạn nên kiểm thử các nội dung cập nhật kiểu.
Sao chép kiểu bản đồ phát hành công khai.
Trong kiểu bản đồ đã sao chép, hãy thực hiện các thay đổi và xuất bản.
Nếu kiểu trùng lặp vừa được cập nhật, hãy kiểm tra các kiểu đã cập nhật để đảm bảo chúng trông như mong đợi. Các đối tượng trên bản đồ có kiểu tuỳ chỉnh sẽ có một chấm màu xanh dương bên cạnh. Mở rộng tất cả các đối tượng trên bản đồ để tìm tất cả các thay đổi.
Liên kết kiểu bản đồ trùng lặp với một mã bản đồ khác mà bạn có thể dùng để kiểm thử kiểu trong môi trường dàn dựng.
Kiểm thử các thay đổi về kiểu trong môi trường dàn dựng.
Khi bạn hài lòng với kết quả, hãy liên kết kiểu bản đồ đã sao chép với mã bản đồ sản xuất của bạn.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eBefore updating a production map style, it's recommended to test changes in a duplicated style to ensure they appear as expected.\u003c/p\u003e\n"],["\u003cp\u003eThe testing process involves duplicating the production style, making and publishing changes, associating it with a separate map ID for staging, and thoroughly testing in that environment.\u003c/p\u003e\n"],["\u003cp\u003eOnce satisfied with the tested changes, associate the duplicated style with your production map ID, understanding that propagation to apps and websites may take a few hours.\u003c/p\u003e\n"],["\u003cp\u003eDuplicated styles don't inherit the version history of the original; to preserve history, apply tested changes directly to the original style after testing in the duplicate.\u003c/p\u003e\n"],["\u003cp\u003eIf changes aren't visible after several hours, refer to the troubleshooting guide for potential solutions to style update delays.\u003c/p\u003e\n"]]],[],null,["Select platform: [Android](/maps/documentation/android-sdk/cloud-customization/test-style-updates \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/cloud-customization/test-style-updates \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/cloud-customization/test-style-updates \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/maps-static/cloud-customization/test-style-updates \"View this page for the Web Service platform docs.\")\n\n\u003cbr /\u003e\n\nWhen you want to update a style that is being used in production, you\nmay want to test your style updates first.\n\n1. Duplicate the production map style.\n\n2. In the duplicated map style, make your changes and publish.\n\n If the duplicated style has just been updated, check the updated\n styles to make sure they look as expected. Map features with custom styles\n have a solid blue dot next to them. Expand all map features to find all\n changes.\n3. Associate the duplicated map style with a different map ID that you can use\n to test the style in your staging environment.\n\n4. Test your style changes in your staging environment.\n\n5. When you are happy with the results, associate the duplicated map style\n with your production map ID.\n\n| **Note:** A duplicated map style does not retain the versions of the style it duplicated. If you want to maintain the style history, you can instead take your tested changes from the duplicated map style and make them to the original map style.\n| **Note:** Style changes can take a few hours to propagate to your apps websites, and apps can take longer if the devices aren't connected to the internet. If you're still not seeing your style changes after a few hours, see [My style changes aren't updating](/maps/documentation/maps-static/cloud-customization/troubleshoot#style-delay)."]]