I am trying to draw the polygon in React native mapbox GL library. Reference : https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/
so here in React webapp they have introduced feature and by adding control we can achieve it. I want to achieve this in React native mapbox GL library. reference: https://github.com/rnmapbox/maps
so please guide me with sample that how can I draw this on RN map.
Here is simple example:
Documentation reference:
about TileJson (styleJSON)
<MapboxGL.MapView />
<MapboxGL.Camera />
<MapboxGL.FillLayer />
<MapboxGL.LineLayer />