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
f446c0492a
commit
3608f7cd48
15 files changed
+439
-37
No files matched your search
@@ -71,7 +71,7 @@ HTML;
|
||||
$object = $event->getObject();
|
||||
|
||||
if ($object instanceof Map) {
|
||||
$line = sprintf('window.ContaoLeaflet.addMap(\'%s\', (function() {', $object->getId());
|
||||
$line = sprintf('ContaoLeaflet.addMap(\'%s\', (function() {', $object->getId());
|
||||
$event->getOutput()->addLine($line);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user