2015-01-12 16:47:24 +01:00
Leaflet integration into Contao CMS
===================================
[](https://travis-ci.org/netzmacht/contao-leaflet-maps)
2019-02-13 12:35:00 +01:00
[](http://packagist.org/packages/netzmacht/contao-leaflet-maps)
[](http://packagist.org/packages/netzmacht/contao-leaflet-maps)
[](http://packagist.org/packages/netzmacht/contao-leaflet-maps)
2015-01-12 16:47:24 +01:00
[](https://github.com/contao-community-alliance/coding-standard)
This extension provides a backend gui for integrating [Leaflet ](http://leafletjs.com/ ) into the Contao CMS.
It has a highly flexible and customizable design so that 3rd party extensions and custom development is really easy.
Developing map applications in Contao with the modern Open Source Map library Leaflet made easy!
Features
--------
- Define Leaflet maps with multiple layers.
- Manage map controls
2017-10-19 09:35:31 +02:00
- [Layers control ](http://leafletjs.com/reference-1.2.0.html#control-layers )
- [Zoom control ](http://leafletjs.com/reference-1.2.0.html#control-zoom )
- [Scale control ]((http://leafletjs.com/reference-1.2.0.html#control-scale ))
- [Attribution control ](http://leafletjs.com/reference-1.2.0.html#control-attribution )
2015-01-12 16:47:24 +01:00
- [Loading control ](https://github.com/ebrelsford/Leaflet.loading )
- Manage layers
- [Tile provider ](https://github.com/leaflet-extras/leaflet-providers )
2017-10-19 09:35:31 +02:00
- Markers - A set of [markers ](http://leafletjs.com/reference-1.2.0.html#marker )
- Vectors - A set of [vectors ](http://leafletjs.com/reference-1.2.0.html )
2015-01-12 16:47:24 +01:00
- Groups - A group of layers
- Reference - A link to another layer
2017-10-19 09:35:31 +02:00
- [Markercluster ](https://github.com/Leaflet/Leaflet.markercluster )
- External geo data files (gpx,kml,wkt,geojson,topojson)
2015-01-12 16:47:24 +01:00
- Manage marker icons
- Manage vector styles
- Optional deferred ajax loading of layer data
- Integrates as frontend module and content element.
- Uses the GeoJSON format.
- Autoloading of required assets.
- [Layer for MetaModels ](https://github.com/netzmacht/contao-leaflet-metamodels )
2019-02-13 12:01:42 +01:00
Documentation
-------------
A basic [user documentation ](http://leaflet-maps-for-contao.readthedocs.org/ ) written in German is available.
2017-10-19 09:35:31 +02:00
Changelog
---------
View the [CHANGELOG.md ](CHANGELOG.md ) for the latest changes.
Requirements
------------
- Contao 4.4
- PHP >= 7.0
2015-01-12 16:47:24 +01:00
Install
-------
```
2017-10-19 09:35:31 +02:00
$ php composer.phar require netzmacht/contao-leaflet-maps:~3.0
2015-01-12 16:47:24 +01:00
```
Credits
-------
The integrated icons are part of the [Farm Fresh Web Icons ](http://www.fatcow.com/free-icons ) and are licensed under the
[CC BY 3.0 US ](http://creativecommons.org/licenses/by/3.0/us/ )
2015-01-19 11:32:22 +01:00
2015-01-22 13:47:06 +01:00
The about icon is part of the [Web Blog Icons by SEM Labs ](http://semlabs.co.uk/ ) and is licensed under the
2015-01-19 11:32:22 +01:00
[CC BY 4.0 ](http://creativecommons.org/licenses/by/4.0/ ).
2015-01-22 13:47:06 +01:00
English translations when possible where copied from the used libraries. Mainly the
2016-10-28 08:33:59 +02:00
[leaflet documentation ](http://leafletjs.com/reference-1.0.0.html ) is used.
2015-01-22 13:47:06 +01:00