forked from Snck3rs/contao-leaflet-maps
Small fixed.
This commit is contained in:
@@ -75,7 +75,7 @@ class VectorsLayerMapper extends AbstractLayerMapper implements GeoJsonMapper
|
||||
}
|
||||
}
|
||||
|
||||
if ($definition instanceof GeoJson) {
|
||||
if ($definition instanceof GeoJson || $definition instanceof GeoJsonAjax) {
|
||||
if ($model->pointToLayer) {
|
||||
$definition->setPointToLayer(new Expression($model->pointToLayer));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user