MGLPolyline style

2 posts / 0 new
Last post
MGLPolyline style


Is there a way to change MGLPolyline style?

For example i want to change lineWidth, lineCap, lineJoin, lineDashPhase and lineDashPattern for some MGLPolylines.

In older version i was able to achieve this using mapView:viewForOverlay, but in new version i could not find something similar.


The MapQuest iOS sdk is based
The MapQuest iOS sdk is based on the Mapbox iOS sdk so you should be able to use the Mapbox line styling example to point in the right direction.