Commit e3a42f7b authored by Anne Blankert's avatar Anne Blankert

fix class breaks, set max zoom for osm bg layer

parent 86279d4f
...@@ -111,7 +111,8 @@ ...@@ -111,7 +111,8 @@
"tiles":[ "tiles":[
"https://tiles.edugis.nl/mapproxy/osm/tiles/osmgrayscale_EPSG900913/{z}/{x}/{y}.png?origin=nw" "https://tiles.edugis.nl/mapproxy/osm/tiles/osmgrayscale_EPSG900913/{z}/{x}/{y}.png?origin=nw"
], ],
"attribution":"&copy; <a href=\"https://www.openstreetmap.org/about\" target=\"copyright\">OpenStreetMap contributors</a>" "attribution":"&copy; <a href=\"https://www.openstreetmap.org/about\" target=\"copyright\">OpenStreetMap contributors</a>",
"maxzoom":19
} }
}, },
"layers": [ "layers": [
...@@ -412,7 +413,7 @@ ...@@ -412,7 +413,7 @@
result[result.length - 1].pcount = 1; result[result.length - 1].pcount = 1;
return result; return result;
} }
if (result[result.length - 1].to === percentile.from) { if (result[result.length - 1].from === percentile.from) {
result[result.length - 1].to = percentile.to; result[result.length - 1].to = percentile.to;
result[result.length - 1].count += percentile.count; result[result.length - 1].count += percentile.count;
result[result.length - 1].pcount++; result[result.length - 1].pcount++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment