$(document).ready(function () {
- var map = createMap("map", {
- zoomControl: true,
- panZoomControl: false
- });
+ var map = L.map("map", {
+ attributionControl: false,
+ zoomControl: false
+ }).addLayer(new L.OSM.Mapnik());
+
+ L.OSM.zoom()
+ .addTo(map);
if (OSM.home) {
map.setView([OSM.home.lat, OSM.home.lon], 12);