From 4e310c11fb0effcf400e67cb47b02b1e553a0456 Mon Sep 17 00:00:00 2001 From: gunungpw Date: Sat, 6 Jul 2024 15:31:54 +0700 Subject: [PATCH] fix zoom level --- js/site.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/site.js b/js/site.js index 4260e45..ad00343 100644 --- a/js/site.js +++ b/js/site.js @@ -27,7 +27,7 @@ function GetMap() { // Initialize a map instance. map = new atlas.Map('demoMap', { center: userPosition, - zoom: 16, + zoom: 13, view: 'Auto', style: layerStyle, @@ -360,7 +360,7 @@ function itemClicked(id) { //Center the map over the clicked item from the result list. map.setCamera({ center: coordinates, - zoom: 16 + zoom: 15 }); showPopupPOI(shape);