Hi Gabs,
Not sure if you've made any progress on this yet or not but from what I 
understand I think you should just create a new LatLngBounds object and call 
extend on it with the points A and B then check if it contains C.

http://code.google.com/apis/maps/documentation/flash/reference.html#LatLngBounds.extend
http://code.google.com/apis/maps/documentation/flash/reference.html#LatLngBounds.containsLatLng

something like

var myBounds:LatLngBounds = new LatLngBounds();
myBounds.extend(pointALatLng);
myBounds.extend(pointBLatLng);

if(myBounds.containsLatLng(pointCLatLng))
   addAPointInTheMiddle();
else
   addAPointAtTheEnd();

I'm not sure how great this will work out in practice but I think this 
should achieve what you're after right now.

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/-/QfysyKN8c6YJ.
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