|
@@ -12,6 +12,7 @@ randCityArray = randCity.split(',');
|
12
|
12
|
osmAttrib = '© <a href="http://openstreetmap.org/copyright">OpenStreetMap</a> contributors - Tiles \u00a9 HOT',
|
13
|
13
|
osm = L.tileLayer(osmUrl, {maxZoom: 18, attribution: osmAttrib});
|
14
|
14
|
var map = L.map('map').setView([randCityArray[1], randCityArray[2]], 12).addLayer(osm);
|
|
15
|
+ map.scrollWheelZoom.disable(); // scrollwheel-zoom is a serious nag when navigating the site
|
15
|
16
|
|
16
|
17
|
L.marker([randCityArray[1], randCityArray[2]])
|
17
|
18
|
.addTo(map)
|