mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 12:33:45 +01:00
Add standalone feature to the reference map.
This commit is contained in:
@@ -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