I have data which is stored in a format whose file names mirrors the tiles used by google maps I needed to compute the rows and columns of tiles that are in view with a given bounds and zoom level
In version 2 of the API I computed them using this function var sw = proj.fromLatLngToPixel(bounds.getSouthWest(), Zoom); var ne = proj.fromLatLngToPixel(bounds.getNorthEast(), Zoom); var startcol = parseInt(sw.x / 256 - buffer); var endcol = parseInt(ne.x / 256 + buffer); var endrow = parseInt(sw.y / 256 + buffer); var startrow = parseInt(ne.y / 256 - buffer); I am trying to figure out how to get this for v3 -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/9-clJOQCeEMJ. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.