Can someone tell me how to import a multiple polygon KML file into
Google Maps using flex code?
kml file is located on remote server and has multiple placemarks.
var retxml:XML = XML(event.result);
var retDoc:XMLDocument = new
XMLDocument(retxml);
var decoder:SimpleXMLDecoder = new
SimpleXMLDecoder(true);
var resultObj:Object =
decoder.decodeXML(retDoc);
//var resultTag_Polygon:String =
resultObj.kml.Document.Placemark.MultiGeometry.Polygon.outerBoundaryIs.LinearRing.coordinates;
var resultTag_Polygon:String =
resultObj.kml.Document.Placemark.name.description;
Alert.show("resultTag_Polygon:" +
resultTag_Polygon );
something like this....but its not working.
--
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.