Closed ansarikhurshid786 closed 5 years ago
I have added one rastersource and rasterlayer. It is working in ios emulator and device but not working in android device or emulator.
can anyone help me?
sample code :
<MapboxGL.RasterSource id="idCities" url="url/export?layers=show:197,198,220&bbox={bbox-epsg-3857}&bboxSR=3857&imageSR=3857&size=256,256&transparent=true&format=png&f=image"> <MapboxGL.RasterLayer id="idCities" source="idCities" style={{ visibility: "visible" }}> </MapboxGL.RasterLayer> </MapboxGL.RasterSource>
I got solution added in source : size={256} Ref.: https://github.com/nitaliano/react-native-mapbox-gl/issues/1024
I have added one rastersource and rasterlayer. It is working in ios emulator and device but not working in android device or emulator.
can anyone help me?
sample code :