mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-25 10:07:37 +01:00
Fixed kzed map scrolling on higher zoom levels
This commit is contained in:
parent
4985c763cc
commit
ecf6ae69a3
@ -1,8 +1,8 @@
|
||||
function KzedProjection() {}
|
||||
KzedProjection.prototype = {
|
||||
fromLatLngToPoint: function(latLng) {
|
||||
var x = (latLng.lng() * config.tileWidth)|0;
|
||||
var y = (latLng.lat() * config.tileHeight)|0;
|
||||
var x = latLng.lng() * config.tileWidth;
|
||||
var y = latLng.lat() * config.tileHeight;
|
||||
|
||||
return new google.maps.Point(x, y);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user