I’m making a Swift iOS app that shows a MKPolyline
overlay (route imported from GPX file) utilizing a Apple MapKit map.
I wish to present the instructions of the trail on the drawn overlay (see instance under).
For now I’ve a considerably working answer utilizing annotations (due to https://stackoverflow.com/a/17834141/1197572)
My understanding is that the specified impact needs to be achievable by subclassing MKOverlayRenderer
and making customized drawing with the CGContext
, however I’m not acquainted sufficient with CoreGraphics to know if and the way this could possibly be finished.
This instance comes from the Visorando app.
It’s utilizing OpenStreetMaps, so possibly that is built-in.
Has anybody any pointers how I may obtain this?