Get Polygon Event from Google Map and Read tooltip in actionscript/flex

/* This is for click of the Polygon */
private function polygonClicked(event:MapMouseEvent):void
{
var marker:Polygon = event.target as Polygon;
var options:PolygonOptions = new PolygonOptions();
options = marker.getOptions();
var strTooltip:String = options.tooltip;
var strReg:Array = strTooltip.split(“\n”);
parentApplication.AccessVariable(“”+strReg[0]);
//markerClicked(event);
selectedRegion = strReg[0].toString();
}

About ashokabhat

I am a C,C ,JAVA,Adobe Flex,.NET Programmer Currently working as a Software Developer
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s