September 2015
Beginner to intermediate
356 pages
7h 27m
English
Google Maps for Android allows us to add custom shapes in our map application. The three ways supported are as follows:
Let's understand these methods now.
Polyline is a set of points where line segments are drawn between consecutive points. For example, you can give a set of latitude, longitude coordinates as input, and lines are drawn connecting these points.
The following image is an example of a polyline that connects two points:

The Polyline object consists of a set of latitude, longitude coordinates and it connects the points to each other.
A polyline can be created using a PolylineOptions ...
Read now
Unlock full access