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
dfb558b655
commit
e9d1ec7081
32 files changed
+1050
-95
No files matched your search
@@ -52,7 +52,7 @@ class LeafletMapElement extends \ContentElement
|
||||
{
|
||||
try {
|
||||
$mapId = 'map_' . ($this->cssID[0] ?: $this->id);
|
||||
$map = $this->mapService->getJavascript($this->leaflet_map, $mapId);
|
||||
$map = $this->mapService->getJavascript($this->leaflet_map, null, $mapId);
|
||||
|
||||
$GLOBALS['TL_BODY'][] = '<script>' . $map .'</script>';
|
||||
|
||||
|
||||
Reference in new issue
Block a user