# Modules.Map.Polyline

TYPE NOT FOUND

Failed to load API docs metadata for type "".

# Overview

The Polyline object gives you low-level control over polylines that can be added to a map view. A polyline must have its points property set to appear on a map.

Use the <Modules.Map.createPolyline> method to create a polyline.

# Example

var polyline = Map.createPolyline({
    points: [{
            latitude: -33.891614,
            longitude: 151.276417
        },
        [-33.87365, 151.20689]
    ],
    strokeWidth: 3,
    strokeColor: '#f00',
    zIndex: 1
});
mapView.addPolyline(polyline);