MapboxGL.Images

2019-10-25  本文已影响0人  jadefan

<MapboxGL.Images />

Images defines the images used in Symbol etc layers
图像定义在符号等层中使用的图像

props

Prop Type Default Required
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'] }.

指定形状源所需的键-值对中的外部图像。
如果您在iOS上的Image.xcsets下和Android上的drawables目录下有资产。
可以指定一个以Assets为键{Assets:[‘pin’]}的字符串名数组。

上一篇 下一篇

猜你喜欢

热点阅读