UNPKG

mappls-map-react-native

Version:

A Mappls GL react native module for creating custom maps

13 lines (9 loc) 952 B
<!-- This file was autogenerated from Images.js do not modify --> ## <MapplsGL.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.<br/>Keys are names - see iconImage expressions, values can be either urls-s objects<br/>with format {uri: 'http://...'}` or `require('image.png')` or `import 'image.png'` | | nativeAssetImages | `array` | `none` | `false` | If you have an asset under Image.xcassets on iOS and the drawables directory on android<br/>you can specify an array of string names with assets as the key `['pin']`. | | onImageMissing | `func` | `none` | `false` | Gets called when a Layer is trying to render an image whose key is not present in<br/>any of the `Images` component of the Map. |