A spatial management web interface example with horticultural land management based demo. Uses OpenLayers, the React and Redux libraries and the AdminLTE interface.
- OpenLayers interactive map
- Demo data served through mock webservices with state persistence
- Visual map feature selection/creation/editing
- Export current map view to PDF
Install the solution dependencies:
npm install
Run the development webserver and demo services:
npm run serve:all
This command is an alias for the following commands:
serve:static
: serves the static client contentserve:app
: runs webpack to bundle and serve the application filesserve:mock-services
: runs the mock services backend with node
The solution is hosted at localhost:8080
by default.
To enable the base map tiles, the OpenLayers data source must be set up correctly in the MapConsts.js
file.
The default source is Bing maps, for which you can obtain a developer key with these instructions. Replace the placeholder text in MapConsts.js
with your key.
To use a different map tile source, refer to the OpenLayers docs.