7 lines
125 B
JavaScript
7 lines
125 B
JavaScript
|
|
export default L.Util.extend({}, L.CRS.Simple, {
|
|
scale: function (zoom) {
|
|
return Math.pow(2, zoom-9);
|
|
}
|
|
});
|