Wednesday, March 22, 2023
HomeiOS Developmentios - MapKit arrow sample path for MKOverlayRenderer

ios – MapKit arrow sample path for MKOverlayRenderer


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.

My present answer Desired answer
Current Objective

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?



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments