We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 01ce2eb + f911f62 commit 3145480Copy full SHA for 3145480
1 file changed
osmmap2.php
@@ -360,6 +360,7 @@
360
TileLayer = new L.TileLayer(Url, {maxZoom: 18, noWrap: ".$nowarp.", attribution: Attribution}),
361
latlng = new L.LatLng(".$center_lat.", ".$center_lng.");\n";
362
$js .= "var map = new L.Map('map', {center: latlng, zoom: ".$zoom.", layers: [TileLayer], contextmenu: true});\n";
363
+$js .= "L.control.scale().addTo(map);\n";
364
$js .= "map.attributionControl.setPrefix('');\n";
365
$js .= "var MarkerClusterList=[];\n";
366
$js .= "var markers = new L.MarkerClusterGroup();\n";
0 commit comments