Skip to content

map-component 5.1.6

Install from the command line:
Learn more about npm packages
$ npm install @cloudpermit/map-component@5.1.6
Install via package.json:
"@cloudpermit/map-component": "5.1.6"

About this version

Cloudpermit map component

ReactJS / Openlayers map component used in Lupapiste and Vaahtera projects.

Getting started with development

  • Copy .env.example to .env and fill the values accordingly.
    • Map component can be developed independently against mock services or against local instances of the applications

Install the dependencies:

npm install

Start the storybook for development and preview of the components

npm start

Run tests:

npm run test # or npm run test:watch

Lupapiste build

Prerequisites: 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.

Cloudpermit build

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.

React compatibility

Version 5.0.0 and later of this component requires React 18. Earlier versions require React 17.

License

Copyright © 2025 Cloudpermit Oy

Distributed under the European Union Public Licence (EUPL) version 1.2.

Details


Assets

  • map-component-5.1.6.tgz

Download activity

  • Total downloads 29
  • Last 30 days 1
  • Last week 0
  • Today 0