-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WMS viewer JS error #41
Comments
The service you are trying to use is a WMTS (tiling service), not a WMS. There's a leaflet-based WMTS plugin (named 'wmts_view') you can try. |
I thought they were the same! The plugin didn't automatically added the view, so I manually added WMS as teh resource type. Ill tried it out, from WMS to WMTS and i got a 409 error, but I guess that is from the server! thank you |
Trying to use a WMS service (http://maps.ipma.pt/mapserv?map=/var/www/maps/forecasts/meteorology/arome_pt_2_10uv.map) produces the same error |
Right, that's likely the service proxy that dumps the 'map' parameter when proxying the capabilities. |
It looks like duplicate of #32 |
I've made PR #42, please review it. |
Thank you Denis, will merge, and apologizes for overlooking your fix. |
Ups sorry @pduchesne I didn't saw you were meaning to review and merge #42 |
no worry, thank you @amercader . One comment on this fix : stripping parameters in the js lib was on purpose, in the case where OGC services are registered with URL parameters like service, version, request, ... In that case, not stripping the parameters at all may cause such resources to fail being displayed. |
@bunnis can we close this issue? |
Did this get fixed? I see you guys talk about merging PR but nothing got merged, so this issue's still open, right? |
No, PR was merged: 1e11211 |
Ok! Thanks for the clarification. |
@bunnis, are these changes solves your original issue? |
Just Tested and they do work, thank you |
When trying to view a WMS resource, using http://services.arcgisonline.com/arcgis/rest/Demographics/USE_Population_Density/MapServer/WMTS or other public wms
The text was updated successfully, but these errors were encountered: