Hi,

You can listen to the MapZoomEvent.ZOOM_CHANGED event and resize the
polygon there.

Simply you could do something like this in the event handler:

_polygon.scale = Math.pow( 2, _map.getZoom - 8 );

Adjust the offset (8) to suit your situation ie. the zoom level where
you want the polygon to be 100%.

The other option is to actually create a Polygon overlay ? See:

http://code.google.com/apis/maps/documentation/flash/reference.html#Polygon

Michael


On Sep 29, 10:23 am, Yordan Yanakiev <[email protected]> wrote:
> hello,
> i wana draw a square which to remain the same screen on each zoom
> level with polygon.
>
> help.

-- 
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