I use google maps v3 api. I have many markers and i want to load their by some parts. I create new mapType (google.maps.ImageMapType). In getTileUrl method i have receive current zoom and x,y coordinates.
var myMapTypeOptions = {
getTileUrl: function(coord, zoom) {
//coord.x
//coord.y
//convert x,y,zoom to LatLng
//make request to server with LatLng
},
tileSize: new google.maps.Size(256, 256)
};
How i can get LatLng of tile from x,y coordinates. I saw example http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ but it based on ver.2
Maybe exists another way to solve my problem?
Thanks for help!