Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Adding Asynchronously loaded image to a custom marker #2548

Closed
rodericj opened this issue Oct 6, 2015 · 0 comments
Closed

Adding Asynchronously loaded image to a custom marker #2548

rodericj opened this issue Oct 6, 2015 · 0 comments
Labels
iOS Mapbox Maps SDK for iOS

Comments

@rodericj
Copy link

rodericj commented Oct 6, 2015

What would be the recommended way to add a custom marker that has a UIImage which is loaded from an asynchronous (web/cache call) thread. I'm toying around with subclassing MGLAnnotationImage as well as adding a category similar to https://github.com/AFNetworking/AFNetworking/blob/master/UIKit%2BAFNetworking/UIImageView%2BAFNetworking.h. It becomes a bit c-like as I'm diving into CALayer which I feel may not be the most appropriate path.

Just wondering what the community recommends for something like this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS
Projects
None yet
Development

No branches or pull requests

3 participants