Maps4HTML / geoserver

Maps for HTML MapML Extension / plug-in development fork of GeoServer
https://docs.geoserver.org/latest/en/user/extensions/mapml/index.html
Other
3 stars 1 forks source link

Upgrade to mapml-viewer.js #19

Closed prushforth closed 3 years ago

prushforth commented 3 years ago

The embedded viewer in GeoServer is based on the old polymer 1.0 polyfill, which is no longer supported, meaning that <map is="web-map" ...> is no longer portable across browsers (boo).

So we will need to replace the version of web-map-custom-element that is embedded, and replace references to web-map.html with appropriate .

In doing so, we will need to think up another strategy for responsive fallback, since the old <map is="web-map" ...> configuration had a fallback configuration that allowed selection of a different WMS request depending on the viewport dimensions and aspect ratio. I will create a branch from the master branch to keep that code in a known location for future reference.

prushforth commented 3 years ago

Fixed by 065449db0eaadb286d77d9c63742ccca373dac18