Skip to content

A spatial management web interface example with horticultural land management based demo.

License

Notifications You must be signed in to change notification settings

timruddell/spatial-web-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spatial web interface

A spatial management web interface example with horticultural land management based demo. Uses OpenLayers, the React and Redux libraries and the AdminLTE interface.

Example with demo data

Features

  • OpenLayers interactive map
  • Demo data served through mock webservices with state persistence
  • Visual map feature selection/creation/editing
  • Export current map view to PDF

Running the solution

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 content
  • serve:app: runs webpack to bundle and serve the application files
  • serve:mock-services: runs the mock services backend with node

The solution is hosted at localhost:8080 by default.

Enabling base maps

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.

About

A spatial management web interface example with horticultural land management based demo.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published