Skip to main content
2 votes
Accepted

OpenLayers 9, distance between lines

If you use JSTS integration (example in https://openlayers.org/en/latest/examples/jsts.html) you could find the distance between any of the supported geometry types. If would be best to use EPSG:3857 ...
Mike's user avatar
  • 12.6k
2 votes
Accepted

Basemap with one selector

After exporting, edit the layers.js file contained in layers folder. Find your layers and define the property 'type': 'base' in the variable new ol.layer.Tile({ Here is an example:
andreaordonselli's user avatar
1 vote

Groups within group on qgis2web

Yes, I haven't yet programmed the management of nested groups. At the bottom of the index.html file add a <script></script> before closing the </body> and override the layersList ...
andreaordonselli's user avatar
1 vote
Accepted

Subgroup toggle in qgis2web

You can export your map with leaflet and set filters in the Appearance tab. The result is a map in which it is possible to turn the layer on and off completely and act on the filter to view only the ...
andreaordonselli's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible