AWS location documentation change
Summary
Updated maplibre-gl from v4.x to v5.x and added 'validateStyle: false' to disable style validation for faster map loading.
Security assessment
Library version updates and performance optimizations don't indicate security fixes. Disabling validation could theoretically introduce risks, but no specific vulnerability is mentioned or addressed.
Diff
diff --git a/location/latest/developerguide/how-to-set-political-view-map.md b/location/latest/developerguide/how-to-set-political-view-map.md index 6fd463e92..4e1a1cb1f 100644 --- a//location/latest/developerguide/how-to-set-political-view-map.md +++ b//location/latest/developerguide/how-to-set-political-view-map.md @@ -30 +30 @@ index.html - <link rel='stylesheet' href='https://unpkg.com/[email protected]/dist/maplibre-gl.css' /> + <link rel='stylesheet' href='https://unpkg.com/[email protected]/dist/maplibre-gl.css' /> @@ -32 +32 @@ index.html - <script src='https://unpkg.com/[email protected]/dist/maplibre-gl.js'></script> + <script src='https://unpkg.com/[email protected]/dist/maplibre-gl.js'></script> @@ -58,0 +59 @@ index.html + validateStyle: false, // Disable style validation for faster map load @@ -65,0 +67 @@ index.html + validateStyle: false, // Disable style validation for faster map load