forked from Snck3rs/contao-leaflet-maps
Fix bounds mode handling.
This commit is contained in:
@@ -108,7 +108,7 @@ class MarkersLayerMapper extends AbstractLayerMapper implements GeoJsonMapper
|
||||
$point = $mapper->convertToGeoJsonFeature($marker, $item);
|
||||
|
||||
if ($point) {
|
||||
$definition->addData($point);
|
||||
$definition->addData($point, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user