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

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -