I’m making a Swift iOS app that shows a
MKPolyline overlay (route imported from GPX file) utilizing a Apple MapKit map.
I want 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 ought to be achievable by subclassing
MKOverlayRenderer and making customized drawing with the
CGContext, however I’m not acquainted sufficient with CoreGraphics to grasp if and the way this may very well be performed.
This instance comes from the Visorando app.
It’s utilizing OpenStreetMaps, so perhaps that is built-in.
Has anybody any pointers how I might obtain this?