简体   繁体   中英

How to add image to react-native-maps

I'm using react-native-maps to deal with maps. Now I want to add bunch of images like a polygon to map. For existing polygon, it has something like:

在此处输入图像描述

I want to replace that with the polygon below.

在此处输入图像描述

Can we add image with defined coordinates, like polygon? (I know we can define polygon position by adding array of coordinates for react native , but for images I don't know)

is the image a.tif? is it georeferenced? You could use something like MapTiler to georeference the image , then publish to the map using UrlTiles

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM