-
Notifications
You must be signed in to change notification settings - Fork 119
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
icon-image loader #742
Comments
What would you suggest in the interim? Since |
You add images to your style and create an id for them with:
You can use that id with:
|
@tobrun thanks for the quick reply!!! |
Updating here that it might make more sense for people reading this issue to start using the new image missing api from mapbox/mapbox-gl-native#14320. This will land as part of the upcoming v7.4.0 release. |
@tobrun is there a better way that we could have exposed the
Interesting, so this means on Android with #1000, it will be easier to add an arbitrary image at runtime than to add a custom sprite uploaded to Studio at runtime? |
@chloekraw in #1000 I'm proposing an alternative way of loading the icons. Just call |
@tobrun ahh, I see! the proposed |
correct, first core tries to match this |
Awesome, thanks @tobrun. That sounds like the ideal developer workflow for using images as icons. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions. |
The style-spec icon-image is currently exposed as
We need an easier way to support Android resources, for example by allow setting a drawable, bitmap or resource id. This setup should also take in account to support re-adding the images if a style changes occurs #737.
The text was updated successfully, but these errors were encountered: