Improve affect bounds handling.

This commit is contained in:
David Molineus committed 2015-01-21 20:37:53 +01:00
1 parent b3eb4c8e61
commit 72f5e3b9ed
5 files changed
+10 -9

No files matched your search

@@ -87,8 +87,6 @@ class MarkerClusterLayerMapper extends AbstractLayerMapper
$GLOBALS['TL_CSS'][] = 'assets/leaflet/libs/leaflet-markercluster/MarkerCluster.Default.css||static';
}
$definition->setOption('affectBounds', (bool) $model->affectBounds);
$collection = LayerModel::findBy(
array('pid=?', 'active=1'),
array($model->id),