Skip to content

Commit d10e09c

Browse files
authored
Update app.js
1 parent 299e499 commit d10e09c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ map = L.map('map', {
2929
/* map.setMaxBounds([[parseFloat(bbox_miny), parseFloat(bbox_minx)], [parseFloat(bbox_maxy), parseFloat(bbox_maxx)]]); */
3030
zoomControl = L.control.zoom({position: "topleft"}).addTo(map);
3131
attributionControl = L.control({ position: "bottomright" });
32-
scaleControl = L.control.scale({ position: "bottomleft", maxWidth: 200, metric: true, imperial: false, updateWhenIdle: false }).addTo(map);
32+
scaleControl = L.control.scale({ position: "bottomleft", maxWidth: 200, metric: true, imperial: true, updateWhenIdle: false }).addTo(map);
3333
baseLayers = { "OpenTopoMap": openTopoMap, "OpenStreetMap": openStreetMap, "ESRI World Imagery": esriWorldImageryMap };
3434
layerControl = L.control.groupedLayers(baseLayers, { collapsed: isCollapsed }).addTo(map);
3535
gridxy = new L.Grid().addTo(map);

0 commit comments

Comments
 (0)