Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 744 Bytes

Images.md

File metadata and controls

11 lines (8 loc) · 744 Bytes

<MapboxGL.Images />

Images defines the images used in Symbol etc layers

props

Prop Type Default Required Description
images object none false Specifies the external images in key-value pairs required for the shape source.
If you have an asset under Image.xcassets on iOS and the drawables directory on android
you can specify an array of string names with assets as the key { assets: ['pin'] }.
onImageMissing func none false Gets called when a Layer is trying to render an image whose key is not present in
any of the Images component of the Map.