How to connect markers in Google map API using just java, i.e., without using asp.net, php or any other language? I am just a beginner. I have multiple markers on my map which are showing the corresponding places in Google android project.
Share
Create your own
Overlayclass (instead of using theItemizedOverlaythat’s used to show markers) and implement thedraw()method to paint the lines. Add this overlay to yourMapViewbefore adding the normal overlay you use to show the markers like so:A
PathOverlayclass can look like this. The positions would be the positions of your markers, already converted toGeoPoints.