From ed45a621d731f27a9fd78e48f0c5f8c35d6a242c Mon Sep 17 00:00:00 2001 From: Charlie Chen Date: Thu, 26 Jun 2025 13:43:15 +0800 Subject: [PATCH] Fix typo for ScaleControl option --- .../Simple Scale Bar Control/Simple Scale Bar Control.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Samples/Controls/Simple Scale Bar Control/Simple Scale Bar Control.html b/Samples/Controls/Simple Scale Bar Control/Simple Scale Bar Control.html index be24288f..61bc60ed 100644 --- a/Samples/Controls/Simple Scale Bar Control/Simple Scale Bar Control.html +++ b/Samples/Controls/Simple Scale Bar Control/Simple Scale Bar Control.html @@ -49,12 +49,12 @@ map.controls.add([ //Add a imperial scale bar to the map. new atlas.control.ScaleControl({ - units: 'imperial' + unit: 'imperial' }), //Add a metric scale bar to the map. new atlas.control.ScaleControl({ - units: 'metric' + unit: 'metric' })], { position: 'bottom-left' });