]> 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 1010fbac94b03fdeab92db2d3ee3b98e1230295a..6d4881547b4d07bba65eecaf661c64462b0aa2c0 100644 (file)
@@ -1,6 +1,14 @@
 $(document).ready(function () {
   var changesets = [], rects = {};
-  var map = createMap("changeset_list_map");
+
+  var map = L.map("changeset_list_map", {
+    attributionControl: false,
+    zoomControl: false
+  }).addLayer(new L.OSM.Mapnik());
+
+  L.OSM.zoom()
+    .addTo(map);
+
   var group = L.featureGroup().addTo(map);
 
   $("[data-changeset]").each(function () {