- var map = createMap("small_map", {
- controls: [ new OpenLayers.Control.Navigation() ]
+ var map = L.map("small_map", {
+ attributionControl: false,
+ zoomControl: false
+ }).addLayer(new L.OSM.Mapnik());
+
+ L.control.zoom({position: 'topright'})
+ .addTo(map);
+
+ $("#small_map").on("resized", function () {
+ map.invalidateSize();