https://github.com/netzmacht/contao-leaflet-metamodels
Metamodels layer for the Leaflet maps integration into Contao
https://github.com/netzmacht/contao-leaflet-metamodels
contao-bundle contao-cms leaflet-map metamodel metamodels-layer
Last synced: 4 months ago
JSON representation
Metamodels layer for the Leaflet maps integration into Contao
- Host: GitHub
- URL: https://github.com/netzmacht/contao-leaflet-metamodels
- Owner: netzmacht
- Created: 2015-01-12T12:52:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2024-01-23T07:47:20.000Z (over 1 year ago)
- Last Synced: 2025-06-08T21:11:28.224Z (4 months ago)
- Topics: contao-bundle, contao-cms, leaflet-map, metamodel, metamodels-layer
- Language: PHP
- Size: 202 KB
- Stars: 1
- Watchers: 1
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
MetaModels layer for the Leaflet maps integration for Contao CMS
================================================================[](https://github.com/netzmacht/contao-leaflet-metamodels/actions/workflows/diagnostics.yml)
[](http://packagist.com/packages/netzmacht/contao-leaflet-metamodels)
[](http://packagist.com/packages/netzmacht/contao-leaflet-metamodels)
[](http://packagist.com/packages/netzmacht/contao-leaflet-metamodels)
[](https://github.com/contao-community-alliance/coding-standard)Features
--------This extension provides a [MetaModel](https://github.com/MetaModels) layer for the
[Leaflet maps integration for Contao CMS](https://github.com/netzmacht/contao-leaflet-maps).Each layer intergrates one specific MetaModel into the Maps. For each layer multiple renderers can be defined:
- Create a marker for the MetaModel item.
- Reference to a layer, vector or marker defined in the Leaflet extension.
- Load a [GeoJSON](http://geojson.org/) feature or feature collection from an MetaModel attribute.
- Load a [GeoJSON](http://geojson.org/) feature or feature collection from files defined in a MetaModel attribute.**Styling**
- For markers a default icon can be selected. Besides an attribute can be used to define a custom marker icon.
- For referenced layers, which are included as a copy *(standalone mode)* optional default styles and icons
can be defined.
Requirements
------------The Leaflet integration for the Contao CMS requires at least PHP 7.1.
This extension works for [MetaModels 2.1.x, 2.2.x, 2.3.x](https://github.com/MetaModels/core).Install
-------This extension can be installed using composer:
```
$ php composer.phar require netzmacht/contao-leaflet-metamodels:~3.0@rc
```Translations
------------The translations are maintained via the [Transifex service](https://www.transifex.com/netzmacht/contao-leaflet-maps/) (resources with prefix `metamodels-`).
Please enter further languages or additions there.