lib/leaflet/src/geo/crs/CRS.js in leaflet-js-0.6.beta4 vs lib/leaflet/src/geo/crs/CRS.js in leaflet-js-0.7.0
- old
+ new
@@ -21,7 +21,12 @@
return this.projection.project(latlng);
},
scale: function (zoom) {
return 256 * Math.pow(2, zoom);
+ },
+
+ getSize: function (zoom) {
+ var s = this.scale(zoom);
+ return L.point(s, s);
}
};