remove debug statement

This commit is contained in:
Laura Klünder 2018-12-12 02:38:01 +01:00
parent 4e1bdffb63
commit a2e53ecc31

View file

@ -1551,7 +1551,6 @@ L.SquareGridLayer = L.Layer.extend({
attributionStart = mapSize.x - $('.leaflet-control-attribution').outerWidth() - 16, attributionStart = mapSize.x - $('.leaflet-control-attribution').outerWidth() - 16,
bottomRightStart = mapSize.y - $('.leaflet-bottom.leaflet-right').outerHeight() - 24, bottomRightStart = mapSize.y - $('.leaflet-bottom.leaflet-right').outerHeight() - 24,
coord = null, lastCoord = null, size, center; coord = null, lastCoord = null, size, center;
console.log(bottomRightStart);
for(i=0;i<this.config.cols.length;i++) { for(i=0;i<this.config.cols.length;i++) {
coord = map.latLngToContainerPoint([0, this.config.cols[i]], map.getZoom()).x; coord = map.latLngToContainerPoint([0, this.config.cols[i]], map.getZoom()).x;
coord = Math.min(mapSize.x, Math.max(-1, coord)); coord = Math.min(mapSize.x, Math.max(-1, coord));