netzmacht / contao-leaflet-metamodels
Contao CMS 中 Leaflet 地图集成的元模型层
3.1.1
2024-01-23 07:44 UTC
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-08-23 09:11:34 UTC
README
功能
本扩展为 Contao CMS 的 Leaflet 地图集成提供了一个 MetaModel 层。
每个层将一个特定的 MetaModel 集成到地图中。对于每个层可以定义多个渲染器
- 为 MetaModel 项目创建一个标记。
- 对 Leaflet 扩展中定义的层、矢量或标记的引用。
- 从 MetaModel 属性中加载一个 GeoJSON 特性或特性集合。
- 从 MetaModel 属性中定义的文件加载一个 GeoJSON 特性或特性集合。
样式
- 对于标记,可以选择默认图标。此外,可以使用属性定义自定义标记图标。
- 对于引用的层,如果是作为副本包含的(独立模式),可以定义可选的默认样式和图标。
要求
Contao CMS 的 Leaflet 集成至少需要 PHP 7.1。此扩展适用于 MetaModels 2.1.x, 2.2.x, 2.3.x。
安装
可以使用 composer 安装此扩展
$ php composer.phar require netzmacht/contao-leaflet-metamodels:~3.0@rc
翻译
翻译通过 Transifex 服务(带有前缀 metamodels-
的资源)维护。请在此处输入更多语言或添加内容。