mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Fixed kzed map scrolling on higher zoom levels
This commit is contained in:
parent
7ff33f04a0
commit
491e88f745
@ -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