]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/changeset.js
Adding a little more max width for buttons
[rails.git] / app / assets / javascripts / changeset.js
index 7f21ae7440d1386b78269299e22b023621adf307..6d4881547b4d07bba65eecaf661c64462b0aa2c0 100644 (file)
@@ -6,13 +6,9 @@ $(document).ready(function () {
     zoomControl: false
   }).addLayer(new L.OSM.Mapnik());
 
-  L.control.zoom({position: 'topright'})
+  L.OSM.zoom()
     .addTo(map);
 
-  $("#changeset_list_map").on("resized", function () {
-    map.invalidateSize();
-  });
-
   var group = L.featureGroup().addTo(map);
 
   $("[data-changeset]").each(function () {