Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
WMS not shown #53
We are trying to include the mapfx component in a project and have some problems to integrate a WMS layer.
Tested with version:
In the Controller of the mapfx-demo we changed (same WMS as in #25)
and started the demo with
Using version 1.21.0 of mapfx the WMS layer is shown.
Is this a bug or a misconfiguration on our side?
Furthermore the configured WMS ("http://geonode.wfp.org:80/geoserver/ows") does not work for me in both mapfx versions.
version 1.22.0 introduced the possibility to set the projection for the map. Although the OpenLayers API for
I'm not sure how to handle this. I could remove the projection attribute from the WMS Tile object and log a warning, when a WMS server is selected, that custom projections are not used for WMS tiles.
I think I will log a warning if the map is initialized with a custom projection and the user switched to WMS that custom projectiosn are not supported for WMS servers.
I do not have the time to dig deeper into this and find out if it possible to have custom projections on WMS servers, and this solution would at least get it working again for the normal projection.