-
Notifications
You must be signed in to change notification settings - Fork 158
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
[Feature] Add multiple images from a url #1376
Comments
Facing the same problem, |
Yeah, |
You can use the following code to retrieve and display url images as your
|
ok, i've got the idea. |
@asar1 did you find a solution for it ? |
This is not something that is currently handled out of the box by Mapbox, as it is not supported by the style spec, however, there are third-party libraries that can assist with managing asynchronous URL requests, such as SDWebImage. |
@ZiZasaurus but how can we do it |
is there any example or code which can help, we don't want to show any image but the markers with image (from URL) |
Well i'm not having trouble in downloading and setting the images. So will i be downloading 1000+ images first to set on the map first like below?
|
If you need arbitrary images to be loaded on demand rather than upfront when the style loads, consider listening for |
I'll keep the issue open as a feature request. |
I've already achieved clustering/un-clustering using circle layers of mapbox, and they can only load static images from the assets folder.
is it possible to load image from a url and add it to circle layer? Or is there any other way to achieve this functionality.
The text was updated successfully, but these errors were encountered: