Hi ... falco,

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

I think maybe you're getting this error because the XML is parsed as String 
values instead of "Number" objects, try to modify this line:

change
var latlng:LatLng = new LatLng(marker.@lat, marker.@lng); 
into
var latlng:LatLng = new LatLng(parseFloat(marker.@lat), 
parseFloat(marker.@lng)); 

in readXML()

if that doesn't work out I'd say drop a breakpoint in there, run in debug 
mode (as best you can I know with Android + AIR this may not be entirely 
trivial) and step through to find which line in particular it blows up on 
then call out that line in your code above.

Shaun

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api-for-flash/-/wMj9i37Y9foJ.
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