Ongoing development.

This commit is contained in:
David Molineus
2015-01-05 12:25:46 +01:00
parent 74a4d79aa0
commit be9060795d
25 changed files with 472 additions and 33 deletions

View File

@@ -47,8 +47,9 @@ class EncoderSubscriber implements EventSubscriberInterface
if ($object instanceof Map) {
$attribution = <<<HTML
map.map.attributionControl.addAttribution(
'<a href="http://www.netzmacht.de/contao-leaflet">netzmacht <em>creative</em></a>'
map.map.attributionControl.setPrefix(
'<a href="http://www.leafletjs.com" title="A JS library for interactive maps">Leaflet</a> | ' +
'<a href="http://www.netzmacht.de/contao-leaflet" title="Leaflet extension for Contao CMS">netzmacht <em>creative</em></a>'
);
HTML;
$event->getOutput()->addLine($attribution);