In an application I'm currently developing, I allow the user to draw his own way on a Google Map Android v2.
For that, I capture the onTouch
/ action_move
event and I convert the x
and y
of the event to a Google Map LatLng
. Then, with these LatLng
I build a PolylineOptions
that I finally add on the map.
Now, I would like to know if there is an intersection in this polyline and if it is the case, I would like to obtain the coordinate of this point.
Is there a way to do that ? Maybe by converting Polyline
into Path
and Region
?
I have try the latest proposition without success.
Thank you in advance for you help :)