8 lines
140 B
JavaScript
8 lines
140 B
JavaScript
'use strict';
|
|
|
|
var SimpleCRS = L.Util.extend({}, L.CRS.Simple, {
|
|
scale: function (zoom) {
|
|
return Math.pow(2, zoom-9);
|
|
}
|
|
});
|