Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eea/volto-openlayers-map

Openlayers map implementation for volto
https://github.com/eea/volto-openlayers-map

Last synced: 3 months ago
JSON representation

Openlayers map implementation for volto

Awesome Lists containing this project

README

        

# volto-openlayers-map

[![Releases](https://img.shields.io/github/v/release/eea/volto-openlayers-map)](https://github.com/eea/volto-openlayers-map/releases)

[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-openlayers-map%2Fmaster&subject=master)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-openlayers-map/job/master/display/redirect)
[![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-master&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-master)
[![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-master&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-master)
[![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-master&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-master)
[![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-master&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-master)

[![Pipeline](https://ci.eionet.europa.eu/buildStatus/icon?job=volto-addons%2Fvolto-openlayers-map%2Fdevelop&subject=develop)](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-openlayers-map/job/develop/display/redirect)
[![Lines of Code](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-develop&metric=ncloc)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-develop)
[![Coverage](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-develop&metric=coverage)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-develop)
[![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-develop&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-develop)
[![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-openlayers-map-develop&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-openlayers-map-develop)

[Volto](https://github.com/plone/volto) add-on

## Features

Demo GIF

## Getting started

### Try volto-openlayers-map with Docker

1. Get the latest Docker images

```
docker pull plone
docker pull plone/volto
```

1. Start Plone backend

```
docker run -d --name plone -p 8080:8080 -e SITE=Plone -e PROFILES="profile-plone.restapi:blocks" plone
```

1. Start Volto frontend

```
docker run -it --rm -p 3000:3000 --link plone -e ADDONS="@eeacms/volto-openlayers-map" plone/volto
```

1. Go to http://localhost:3000

### Add volto-openlayers-map to your Volto project

1. Make sure you have a [Plone backend](https://plone.org/download) up-and-running at http://localhost:8080/Plone

```Bash
docker compose up backend
```

1. Start Volto frontend

- If you already have a volto project, just update `package.json`:

```JSON
"addons": [
"@eeacms/volto-openlayers-map"
],

"dependencies": {
"@eeacms/volto-openlayers-map": "^1.0.0"
}
```

- If not, create one:

```
npm install -g yo @plone/generator-volto
yo @plone/volto my-volto-project --addon @eeacms/volto-openlayers-map
cd my-volto-project
```

1. Install new add-ons and restart Volto:

```
yarn
yarn start
```

1. Go to http://localhost:3000

1. Happy editing!

## Release

See [RELEASE.md](https://github.com/eea/volto-openlayers-map/blob/master/RELEASE.md).

## How to contribute

See [DEVELOP.md](https://github.com/eea/volto-openlayers-map/blob/master/DEVELOP.md).

## Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA).
All Rights Reserved.

See [LICENSE.md](https://github.com/eea/volto-openlayers-map/blob/master/LICENSE.md) for details.

## Funding

[European Environment Agency (EU)](http://eea.europa.eu)