map-component 5.1.7
Install from the command line:
Learn more about npm packages
$ npm install @cloudpermit/map-component@5.1.7
Install via package.json:
"@cloudpermit/map-component": "5.1.7"
About this version
ReactJS / Openlayers map component used in Lupapiste and Vaahtera projects.
- Copy
.env.exampleto.envand fill the values accordingly.- Map component can be developed independently against mock services or against local instances of the applications
Install the dependencies:
npm installStart the storybook for development and preview of the components
npm startRun tests:
npm run test # or npm run test:watchPrerequisites: run npm install and npm run test before the actual build step.
Run lupapiste.sh which builds the application bundle with Webpack into the /dist directory.
Prerequisites: run npm install and npm run test before the actual build step.
Run vaahtera.sh which uses just babel to do any required transpiling and copies the modules to the /dist directory.
Master branch is built by Cloudpermit Jenkins and the package is published in GitHub registry.
Version 5.0.0 and later of this component requires React 18. Earlier versions require React 17.
Copyright © 2025 Cloudpermit Oy
Distributed under the European Union Public Licence (EUPL) version 1.2.