Hi. Yes, it is possible. You can do something like this:
public class SuperPolygon extends Polygon
{
public function
SuperPolygon(arg0:Array,arg1:PolygonOptions=null)
{
super(arg0,arg1);
addEventListener(MapMouseEvent.CLICK,handleMapEvent,false,0,true);
}
private function handleMapEvent(event:Event):void
{
if (event.type==MapMouseEvent.CLICK)
{
//do stuff...
}
}
}
then you can add like this:
var polygon:SuperPolygon = new SuperPolygon(/*array with LatLng
objects*/);
map.addOverlay(polygon);
On Mar 22, 2:25 am, Cameron Ellis <[email protected]> wrote:
> ...no thoughts here? can I get an info window to show up when I roll
> over a polygon overlay? Can a marker support text/hyperlink? Any
> thoughts would be extremely appreciated.
>
> Thanks soooooooooo much for any help. I am a long time GIS user,
> finally getting around to Flash development and completely stumped.
>
> Thanks again,
>
> Cameron
>
> On Mar 18, 10:04 pm, Cameron Ellis <[email protected]>
> wrote:
>
>
>
>
>
>
>
> > New to Google Maps Flash API, and I came across an older post (2008)
> > on this that mentioned that polygon overlays are not clickable, is
> > this still the case? Are there any good workarounds? any roll-over
> > functionality? Can I just tag a polygon with a marker?
>
> > Thanks!
>
> > Cameron
--
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.