We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b43552 commit bd00e2eCopy full SHA for bd00e2e
1 file changed
examples/openlayers/controler_scaleline.html
@@ -31,8 +31,8 @@
31
}),
32
projection: 'EPSG:4326'
33
});
34
- zoomControl = new ol.control.ScaleLine();
35
- map.addControl(zoomControl);
+ var scaleControl = new ol.control.ScaleLine();
+ map.addControl(scaleControl);
36
map.addLayer(layer);
37
</script>
38
</body>
0 commit comments