Closed Swiftocrat closed 4 years ago
Hi @Swiftocrat — thanks for using Mapbox.
I'm not aware of the details of your use case, but if you don't need to georeference the edges of your image, you may want to consider using an MGLSymbolStyleLayer
with multiple images, as shown in this example.
Using multiple image layers won't inherently affect performance, its all about how many layers you're adding and how many images need to be loaded into the style. So, you may only notice performance issues once you hit a certain threshold.
By the way, this repo is for reporting bugs, requesting features, and coordinating work related to the various Mapbox Map SDKs. For help with “how do I” questions, we ask in the future that you check out our StackOverflow page or reach out to our excellent support team. Thanks!
Hello, I want to add multiple images on map, but MGLImageSource can take only one image, so I should create new layer for every image, which will be bad decision for app performance.
Can I use some other method to do this ? Need your advice. Thank you.