netzmacht / contao-leaflet-libraries
Leaflet 地图集成 Contao 的 JavaScript 库
1.9.3.1
2023-12-20 10:07 UTC
Requires
- php: ^7.4 || ^8.0
- contao-community-alliance/composer-plugin: ~3.0
- contao/core-bundle: ^4.13 || ^5.0
Suggests
- netzmacht/contao-leaflet-maps: Leaflet maps integration into Contao CMS
README
此包只是 netzmacht/contao-leaflet-maps(Leaflet 地图集成到 Contao CMS)所需的 Leaflet 库的集合。
此包包含以下包
- leaflet 1.9.3
- Leaflet-providers 1.13.0
- Leaflet.markercluster 1.4.1
- Leaflet-omnivore 0.3.4
- Leaflet.loading 0.1.24
- Leaflet.Control.FullScreen 1.6.0
- Leaflet Control Geocoder 1.13.0
- Leaflet.ExtraMarkers 1.2.1
- leaflet.pm 0.25.0
- osmtogeojson 2.2.12
- spin.js 2.3.2
安装
您可以通过 composer 安装此包。
$ php composer.phar require netzmacht/contao-leaflet-libraries:~1.0
如果您使用的是不带管理版的 Contao 4,您还必须将模块注册为包。
<?php // Dependency is automatically installed and has to be registered new Contao\CoreBundle\HttpKernel\Bundle\ContaoModuleBundle('leaflet-libs', $this->getRootDir()),
版本号
每个发布版本都标记了与此包一起提供的 leaflet 主要版本。对于任何不提供 leaflet 新版本的 bugfix 发布,此包使用版本号的四部分。
许可证
由于此包仅是一个元包,用于提供库,因此必须接受每个库的许可证。它们在 MIT 或 BSD 许可证下。