mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Add map scale widget.
This commit is contained in:
@@ -20,6 +20,7 @@ const Colors = Object.freeze({
|
||||
});
|
||||
|
||||
var map = L.map("map").setView([0, 0], 3);
|
||||
L.control.scale({ maxWidth: 200 }).addTo(map);
|
||||
|
||||
// https://esri.github.io/esri-leaflet/api-reference/layers/basemap-layer.html
|
||||
var baseLayers = {
|
||||
|
||||
Reference in New Issue
Block a user