Add a path (polyline) to the map.
The SDK allows you to easily plot a path on the map using the StaticMapPath
class. This class allows you to specify the size, color, outline, and the polyline to be drawn on the map.
The code above will generate the following static map:
You can provide a list of points directly, and leave it to our package to encode the polyline for you. Use the StaticMapPath.points()
constructor, example:
Add a path (polyline) to the map.
The SDK allows you to easily plot a path on the map using the StaticMapPath
class. This class allows you to specify the size, color, outline, and the polyline to be drawn on the map.
The code above will generate the following static map:
You can provide a list of points directly, and leave it to our package to encode the polyline for you. Use the StaticMapPath.points()
constructor, example: