javascript - Get Coordinates of tile in google map api v3 -
in example below maptype overlay https://developers.google.com/maps/documentation/javascript/examples/maptype-overlay
i want county names covered under tile, when click tile. tried attaching event overlay object as:
var gridoverlay = new coordmaptype(new google.maps.size(256, 256)); map.overlaymaptypes.insertat(0, gridoverlay); google.maps.event.addlistener(gridoverlay, 'click', function(evt) { // tile coords console.log(evt); });
Comments
Post a Comment