Monthly Archives: March 2011

Google GeoMap Event

marker.addEventListener(MapMouseEvent.CLICK, function (event:MapMouseEvent):void { var markerContent:String = marker.getLatLng().toString(); //marker.openInfoWindow(new InfoWindowOptions({contentHTML: markerContent})); var arlat:Array = event.latLng.toString().split(“,”); var y:String = arlat[0].toString(); var x:String = arlat[1].toString(); lat=y; long=x; cityLong=x.split(“)”)[0]; cityLat=y.split(“(“)[1]; dataConnectionfact_id.getFactsData(x,y,answers.selectedValue.toString()); Condition(); }); Advertisements

Rate this:

| Leave a comment