Hi, I have a google map flash application, where I am inserting multiple waypoints for a single direction polyline. Right now as per the functionality I am able to add waypoints in the end of an waypoints list. Now i need a functionality, where if a user clicks on the direction polyline and add a waypoint it should be inserted in mid of the already created direction polyline. For example : if I marked location 'A' & "B" as destination while reaching to location 'D'. However I decided that I should take a break in between the trip and marked another location "C" as destination (which is in between A & B).
Now as per my current application under my waypoint list "C" comes to last, whereas actually "B" should automatically shift down to accomdate C. Now technically the only problem I am facing is I am not able to get any reference of latitude and longitude values, which could suggest that C lies in between of A & B. Polyline.getLatLngBounds returns the lat lang of starting and ending point of trip i.e A & D. Please note while I have gone through the Flash API reference it says "Returns the LatLngBounds of this polyline or a *subsequence* of this polyline". So i guess i need to get the subsequence LatLngBounds , but dont know how. Please help as I am very much stucked up in this. Let me know if you need any further explanation for this. This is my first post, so let me know if I am going wrong somewhere -- 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/-/m6irxXa6hwQJ. 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.
