MGLPolyline style

2 posts / 0 new
Last post
erekle
MGLPolyline style

Hello!

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.

Thanks!


MQBrianCoakley
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.