I'm not sure I understand your question. If you already know how to draw tiles with PHP, then you also know how to calculate the tile numbers from lat/lon values.
-- Marcelo - http://maps.forum.nu -- On Aug 1, 1:41 am, "S.Choe" <[email protected]> wrote: > Dear All. > > I used custom tile method to draw tile overlay covering some area. > > My program > GTileLayer g; > g.getTileUrl() is defined by a separate php code with tile.x, tile.y, > zoom level. > > In defining getTileUrl(), I generate image with (x,y,zoom). But it > took to much time. > > I would like to generate the image before user's view frustum visit > the area. > That is to say, I would like to implement function: > For given area [minx, miny, maxx, maxy], > generateTile([minx, miny, maxx, maxy], [minzoom, maxzoom]) will > returns > array of tile images which covers all the area and for given interval > of zooms. > > For any given area and zoom, how do i compute grid of tiles (tile.x, > tile.y)? > > Thank you. > > SK. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
