Sorry onr further question, i am adopting you suggestion of redrawing
the grid, being a flash novice, and never having worked with a
'persistant" display list before, what is the quickest way to draw,
and redraw lots of grid lines for every map movement?

using polygons isntead of lines, as I am after a hex map.
options I have thought off:

clearing the whole screen and redrawing everything every change.
(could be slow?)
drawing all the lines and using viable true / false to switch on the
one in view
having a fixed number of lines, and updating there position to ensrure
the veiwport is covered. (although I am having troble ceating an array
of polygons)

thansk Ben

On Jan 7, 1:22 pm, BenP <[email protected]> wrote:
> Yes, thanks, i have just read up on Mercator, and its distortions
> (greenland teh size of africa), idealy I would like an equal area
> projection, but failed to find one, however since I don't have to be
> that accurate the Marcator one will do (might chop of the poles, as
> they are not really important to me).
>
> I am having a challenge with Mercator, b\and a 3D map but will add
> that as a seperate thread.
>
> thanks ben
>
> On Jan 7, 10:09 am, Jonathan Wagner <[email protected]> wrote:
>
> > 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.


Reply via email to