]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Adjust minimum changeset bbox to 20 pixels
[rails.git] / app / assets / javascripts / index / history.js
index 51d854ad936decd1cfcf993c6068dd18f28bc544..b0f34a2ade0ab7229a55de947f218fca03ad599a 100644 (file)
@@ -101,7 +101,7 @@ OSM.History = function(map) {
             topRight = map.project(L.latLng(changeset.bbox.maxlat, changeset.bbox.maxlon)),
             width = topRight.x - bottomLeft.x,
             height = bottomLeft.y - topRight.y,
-            minSize = 40;  // Min width/height of changeset in pixels
+            minSize = 20;  // Min width/height of changeset in pixels
 
         if (width < minSize) {
           bottomLeft.x -= ((minSize - width) / 2);