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

Mapbox Customize Markers In iOS with UIView #10

Closed
heliumsoule opened this issue Jan 1, 2016 · 3 comments
Closed

Mapbox Customize Markers In iOS with UIView #10

heliumsoule opened this issue Jan 1, 2016 · 3 comments
Labels

Comments

@heliumsoule
Copy link

Hey Justin,

I want to use Mapbox on an iOS application. However, because I'm displaying text and don't want to lose the resolution on my markers, I want to use UIViews instead of UIImages. I read somewhere that Mapbox is looking to add that feature in the future. Can you tell me how when that will be available? Thanks!

P.S. Happy New Years

Sincerely,
Hsoule.

@incanus incanus added the Mapbox label Jan 2, 2016
@incanus
Copy link
Owner

incanus commented Jan 2, 2016

The main issue for tracking this feature is at mapbox/mapbox-gl-native#1784, and I've done the most research into its feasibility for iOS (see mapbox/mapbox-gl-native#1125 (comment); building the right foundation for animations is the tricky part here).

I don't have any update on the ETA right now, as Mapbox is on break this week and I myself am away from work for a while for some personal matters. Stay tuned though!

@incanus incanus closed this as completed Jan 2, 2016
@incanus
Copy link
Owner

incanus commented Jan 2, 2016

Also, digging deeper: if you are using static images, you shouldn't be losing any resolution. If you are creating imagery on the fly, are you sure that your CGContext matches the UIScreen scale?

@heliumsoule
Copy link
Author

Thanks for responding Incanus. I need to display customized map markers whose text can change. So I am taking creating a picture of the UIView and then exporting that as an image on top of the map. I'm going to try matching the CGContext and UIScreen scale. Thank you for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants