mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Small cleanup.
This commit is contained in:
parent
a08edc3fa9
commit
ce7bfdb46e
@ -73,8 +73,7 @@ function makeRequest(url, func, type, fail, post, contenttype)
|
||||
};
|
||||
|
||||
MCMapProjection.prototype.fromPointToLatLng = function(point) {
|
||||
var x = point.x;
|
||||
var lng = x / config.tileWidth;
|
||||
var lng = point.x / config.tileWidth;
|
||||
var lat = point.y / config.tileHeight;
|
||||
return new google.maps.LatLng(lat, lng);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user