Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render icon #20

Closed
djdance opened this issue Apr 30, 2021 · 1 comment
Closed

Render icon #20

djdance opened this issue Apr 30, 2021 · 1 comment

Comments

@djdance
Copy link

djdance commented Apr 30, 2021

Hi! Thank you for this library. Could you plan to add icon support for placemarks?

@djdance
Copy link
Author

djdance commented May 3, 2021

ah, got it! it is already done here.

in mapView( mapView: MKMapView, viewFor annotation: MKAnnotation)_
one can get URL so:

let ann = annotation as! KMLAnnotation
let url = ann.style?.iconStyle?.icon?.href

@djdance djdance closed this as completed May 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant