Allow vector tile layers (from MapServer) to be added via a config file and the LayerFactory
Applying symbology - it is possible to export SLD styles from MapServer - could GeoStyler be used here? Is there a SLD to MVT-styling conversion that could be run from the command-line?
The styling would be fairly static (so could be updated offline for a deployment).
Unsure how tooltips are configured in OpenLayers for vector tiles. Ideally they would work with the ToolTip.js class.
It appears the XYZ template is the standard method OpenLayers uses. However the advantage to MapServer of using a WMS interface is the a FILTER= parameter can be passed with the URL to filter out features on the server. This approach would therefore be preferred.
Allow vector tile layers (from MapServer) to be added via a config file and the LayerFactory
Applying symbology - it is possible to export SLD styles from MapServer - could GeoStyler be used here? Is there a SLD to MVT-styling conversion that could be run from the command-line? The styling would be fairly static (so could be updated offline for a deployment). Unsure how tooltips are configured in OpenLayers for vector tiles. Ideally they would work with the ToolTip.js class.
Vector tiles are supported in the current MapServer environment. They can be accessed in MapServer using the WMS interface e.g. http://localhost/mapserver/?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=mvt&LAYERS=mylayer&BBOX=...
They can also be accessed via XYZ templates e.g. http://localhost/mapserver/?mode=tile&tilemode=gmap&tile={x}+{y}+{z}&layers=mylayer&map.imagetype=mvt
It appears the XYZ template is the standard method OpenLayers uses. However the advantage to MapServer of using a WMS interface is the a
FILTER=
parameter can be passed with the URL to filter out features on the server. This approach would therefore be preferred.