I would like to be able to provide layers from views based on views_geojson.
Change the view filter in Openlayers and create Layers from views having the style plugin 'views_geojson'.
Technically, I modified the function
openlayers_views_openlayers_layers_info() in the openlayers_views.module file.
I've added a new condition based on 3 checks:
- Is the style_plugin of the display 'views_geojson' ?
- Is the display 'page' ?
- Is the path set ?
If all those conditions are met, a new layer is constructed programmatically.
You can use that feature on any map you want and enjoy :-)
You tell me.
User interface changes