mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Fix bounds mode handling.
This commit is contained in:
1 parent
a399004988
commit
9e0fe6a0b6
5 files changed
+8
-6
No files matched your search
@@ -194,7 +194,7 @@ class GeoJsonSubscriber implements EventSubscriberInterface
|
||||
} else {
|
||||
$parent = LayerModel::findByPk($model->pid);
|
||||
|
||||
if ($parent && !$parent->affectBounds) {
|
||||
if ($parent && $parent->boundsMode !== 'extend') {
|
||||
$feature->setProperty('ignoreForBounds', true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user