import { Image } from '@rnmapbox/maps';
Image
string
required ID of the image
boolean
Make image an sdf optional - see SDF icons
Array
An array of two-element arrays, consisting of two numbers that represent, the from position and the to position of areas that can be stretched horizontally.
Array
An array of two-element arrays, consisting of two numbers that represent, the from position and the to position of areas that can be stretched vertically.
tuple
An array of four numbers, with the first two specifying the left, top corner, and the last two specifying the right, bottom corner. If present, and if the icon uses icon-text-fit, the symbol's text will be fit inside the content box.
number
Scale factor for the image.
ReactElement
required Single react native view rendering the image
Name | Type | Required | Description |
---|