Add support for WMS maps#5110
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5110 +/- ##
=========================================
Coverage 34.99% 34.99%
Complexity 11520 11520
=========================================
Files 1189 1189
Lines 48502 48502
=========================================
Hits 16974 16974
Misses 31528 31528 ☔ View full report in Codecov by Sentry. |
|
Any opinion on this? Would love to see WMS support in an upcoming release, so I can release a module with Swedish map services. |
|
This PR should be non-intrusive for current modules... |
|
Can you explain what Google tells me there are lots of things called "Wxxxx Mapping Service". Is this a different mapping provider? |
|
WMS is Web Map Service, as in the protocol used for delivering maps by many map servers. See https://en.wikipedia.org/wiki/Web_Map_Service |
Will detect that it is an WMS map by looking for
layersinoptions.I decided to put all tile layer options in a separate variable because of this:
This means that for example url will be appended as parameter in the request if they are mixed with the tile layer options.
Here are samples of WMTS and WMS maps: