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

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -