Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

mapbox gl - Pbf layer not working in android

$
0
0

I m using react native mapbox gl and added pbf tile like :

<MapboxGL.VectorSource   id="idTestSoruce"  tms={true}   tileUrlTemplates={["url@EPSG:900913_1024@pbf/{z}/{x}/{y}.pbf"]}><MapboxGL.FillLayer       id="idTestLayer"      sourceID="idTestSoruce"      sourceLayerID="plotm"      style={{ visibility: "visible", fillColor: "red"}}       minZoomLevel={12}       maxZoomLevel={22}    /></MapboxGL.VectorSource>

Version info:

react-native: 0.59.10@react-native-mapbox-gl/maps: 7.0.8

It is working perfectly in ios but in android getting following error:

Error while updating property 'tms' of a view managed by: RCTMGVectorSource

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>