mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Add standalone feature to the reference map.
This commit is contained in:
1 parent
c9d7befc08
commit
c5c4810837
3 files changed
+16
-2
No files matched your search
@@ -40,6 +40,8 @@ class ReferenceLayerMapper extends AbstractLayerMapper
|
||||
return null;
|
||||
}
|
||||
|
||||
return $mapper->handle($reference, $bounds, $this->getElementId($model, $elementId));
|
||||
$elementId = $model->standalone ? $this->getElementId($model, $elementId) : null;
|
||||
|
||||
return $mapper->handle($reference, $bounds, $elementId);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user