nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 696 forks source link

Adding custom tile source #1700

Open TamNhiDuong opened 3 years ago

TamNhiDuong commented 3 years ago

Hi,

I hope it is a right place to post this. I have a WMS that supports EPSG:3857 as a source of tiled data. The server URL looks like this:

"http://a.example.com/wms?bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&width=256&height=256&layers=example"

The url returns a map image. Where can I add this source as a new layer in Mapbox?

Thank you!