Adding Views GeoJSON Layer to OL3 Map
Last updated on
6 April 2022
This is documentation for Drupal 7, which is no longer supported. Learn more and find resources for Drupal 7 sites
Create a OL3 Map with a local Views GeoJSON Source
- Create a view with Views GeoJSON feed (Add: Feed)
- Go to Structure->OpenLayers->Layers - add a layer
- Choose Layer Type: "Vector"
- Choose your desired Views GeoJSON feed in the "Source" select list (continue)
- Choose your style and save
- Go to "Maps" and Add a new map
- Add your new GeoJSON layer (and a base map if desired)
Help improve this page
Page status: No known problems
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion