netzmacht / contao-leaflet-metamodels
Metamodels layer for the Leaflet maps integration in Contao CMS
Fund package maintenance!
dmolineus
Installs: 448
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 8
Open Issues: 2
Type:contao-bundle
Requires
- php: ^7.1 || ^8.0
- ext-json: *
- ext-pdo: *
- contao-community-alliance/dc-general: ^2.1
- contao-community-alliance/meta-palettes: ^1.11 || ^2.0
- contao/core-bundle: ^4.9
- doctrine/dbal: ^2.11 || ^3.3
- menatwork/contao-multicolumnwizard-bundle: ^3.4.0
- metamodels/attribute_select: ~2.2
- metamodels/core: ^2.2
- netzmacht/contao-leaflet-maps: ^3.2
- netzmacht/contao-toolkit: ^3.7
- netzmacht/php-javascript-builder: ^1.0.2
- netzmacht/php-leaflet: ^1.0
- symfony/config: ^4.4 || ^5.4
- symfony/dependency-injection: ^4.4 || ^5.4
- symfony/event-dispatcher: ^4.4 || ^5.4
- symfony/http-kernel: ^4.4 || ^5.4
- symfony/routing: ^4.4 || ^5.4
- symfony/translation: ^4.4 || ^5.4
- symfony/translation-contracts: ^1.1 || ^2.0
Requires (Dev)
- contao/manager-plugin: ^2.1
- phpcq/coding-standard: ^2.1
- phpcq/runner-bootstrap: ^1.0@dev
Conflicts
- contao/manager-plugin: <2.1 || >= 3.0
This package is auto-updated.
Last update: 2024-10-23 09:27:57 UTC
README
Features
This extension provides a MetaModel layer for the Leaflet maps integration for Contao CMS.
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 feature or feature collection from an MetaModel attribute.
- Load a GeoJSON 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.
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 (resources with prefix metamodels-
).
Please enter further languages or additions there.