mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Ongoing development.
This commit is contained in:
1 parent
74a4d79aa0
commit
be9060795d
25 files changed
+472
-33
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user