Add all images to a MapBox GL JS map instance so that they may be used in
style layers. Call before adding layers created by styleForFeatureLayer.
The ImageList may contain multiple copies of images at different dpi. Since
MapBox GL does not currently support adding images at multiple resolutions
this function will pick those that best match the current devicePixelRatio.
If the devicePixelRatio changes (e.g. switching monitors), the images
will not be updated and may be at a less than ideal resolution, though
mapbox gl will still show them at the correct size.
Add all images to a MapBox GL JS map instance so that they may be used in style layers. Call before adding layers created by styleForFeatureLayer.
The ImageList may contain multiple copies of images at different dpi. Since MapBox GL does not currently support adding images at multiple resolutions this function will pick those that best match the current devicePixelRatio. If the devicePixelRatio changes (e.g. switching monitors), the images will not be updated and may be at a less than ideal resolution, though mapbox gl will still show them at the correct size.
ImageList