Small cleanup.
This commit is contained in:
parent
a08edc3fa9
commit
ce7bfdb46e
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue