You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for simple bbox support, {mleft}, {mtop}, {mbottom}, {mright} could be added into TileCoord.url (only for raster-tiles ?) plus calc Spherical Mercator bbox. However there might come other bbox , quadkey etc requirements...so custom url hook would be perfect.
Anyone want to roll a PR for this? The problem I've had in the past developing against WMS servers is that there aren't any stable WMS servers on the internet - I've used the NOAA server, but it doesn't support CORS, so this qualification of espg:3857 support + it'll stay online + CORS eliminates all WMS servers I know of.
I'd really prefer not to host a server just to develop a feature - WMS servers are unstable and slow, and nobody around here wants to maintain one. Unless someone wants to roll a PR for this, I don't think it's going to happen - this is a feature that connects to a kind of server that doesn't really exist on the internet.
WMS is not the problem, nor you need your own WMS server, nor public server. You can provide custom URL tile constructor and leave it up to the client to define final URL string. GMSTileURLConstructor might be good example of elegant 'style in API' :) you can follow here.
I have some satellite .png tiles but the origin point of the tiles is not the Mercator origin point , I wish mapboxgl exports the url function so I can get my customs png tiles
Activity
stepankuzmin commentedon Sep 1, 2015
+1
fxi commentedon Feb 11, 2016
+1
DenisCarriere commentedon Feb 21, 2016
+1
tmcw commentedon Feb 22, 2016
Anyone want to roll a PR for this? The problem I've had in the past developing against WMS servers is that there aren't any stable WMS servers on the internet - I've used the NOAA server, but it doesn't support CORS, so this qualification of espg:3857 support + it'll stay online + CORS eliminates all WMS servers I know of.
DenisCarriere commentedon Feb 22, 2016
What if you host your own GeoServer at Mapbox for WMS testing purposes. There's a few GeoServer Dockerfiles that can get you started really fast.
As for schemas, you could primarily focus on the latest OGC schema of WMS 1.3.
DenisCarriere commentedon Feb 22, 2016
I've been able to load a WMS 1.1 using Leaflet without a problem.
It would be really nice to have this built in MapboxGL. 👍
tmcw commentedon Feb 22, 2016
I'd really prefer not to host a server just to develop a feature - WMS servers are unstable and slow, and nobody around here wants to maintain one. Unless someone wants to roll a PR for this, I don't think it's going to happen - this is a feature that connects to a kind of server that doesn't really exist on the internet.
DenisCarriere commentedon Feb 22, 2016
I agree with you, those WMS servers are old technology, so much trouble to enable this feature. :(
Sumbera commentedon Feb 22, 2016
WMS is not the problem, nor you need your own WMS server, nor public server. You can provide custom URL tile constructor and leave it up to the client to define final URL string. GMSTileURLConstructor might be good example of elegant 'style in API' :) you can follow here.
m0ose commentedon Apr 4, 2016
I also +1 this request.
The server at http://sedac.ciesin.columbia.edu/geoserver/ seems stable.
You can use it in leaflet with
L.tileLayer.wms("http://sedac.ciesin.columbia.edu/geoserver/ows",{layers:'gpw-v3:gpw-v3-population-density_2000', opacity:0.6})Cheapo WMS support
jerrygarciame123 commentedon May 11, 2016
I need to consume ArcGIS Rest API services into Mapbox GL API. ArcGIS has a WMS specification.
Any new pathways for this?
wangtun commentedon Jun 18, 2016
I have some satellite .png tiles but the origin point of the tiles is not the Mercator origin point , I wish mapboxgl exports the url function so I can get my customs png tiles
jfirebaugh commentedon Jul 7, 2016
WMS support landed in #2612.
DenisCarriere commentedon Jul 8, 2016
Woot woot! :) This deserves its own Twitter post
user1104 commentedon May 9, 2017
Even I need to consume ArcGIS Rest API services into Mapbox GL API. ArcGIS has a WMS specification.
Is there any new pathways for this?
deligence commentedon Jun 19, 2017
Hey @user1104 have you got any success in using ArcGIS Rest API in Mapbox GL?