Ok, I thought that's what you might be trying to do. What I would recommend is that you redraw the grid every time the view is changed or rendered only for the viewport. Though I would suggest as you zoom out you block off bigger areas, because a 100km grid when you're zoomed all the way out would be something like 4000 lines. However before you dive into this there is something you should be aware of, your grid will not look like a grid, because of the Mercator projection the squares will actually distort as you approach the north and south pole.
Jonathan Scribblemaps.com On Jan 6, 4:13 pm, BenP <[email protected]> wrote: > thanks for the reply, but I don't think Tile Overlays will work, I > want the overlay to remain constant land area, not screen area. > I am looking to draw a grid with a fixed, real world size, lets say > 100 km square, that remains at a constant 100km-sq regardless of map > zoom. > > I could draw a huge overlay for the whole globe, but this has to be > very high rez to look any good, and seems wasteful given I am using a > repeating grid pattern. > > Obvioulsy the real world area of a tile changes drastically with zoom, > as they are reative to screen space. > > Thansk Ben > > On Jan 7, 7:54 am, Jonathan Wagner <[email protected]> wrote: > > > > > TileOverlays should work for you, it depends on how you want the grid > > to be. For instance if you create a tile overlay that draws a red > > outline box the size of 256x256 and overlay it on the map, you will > > see red boxes around each of the tiles. Tile overlays only temporarily > > scale if you have continuous zoom enabled on the map. > > > Jonathan > > Scribblemaps.com > > > On Jan 6, 4:18 am, BenP <[email protected]> wrote: > > > > New to the API so this may be a stupid question, but is it possible to > > > create an overlay that tiles? I have looked at tile overlays, but > > > these scale with zooming which beraks the result, I want a tiling full > > > map overlay, so i can place my own grid upon it. > > > > thanks > > > Ben
-- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en.
