mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-10-14 14:46:12 +02:00
Small fixed.
This commit is contained in:
1 parent
58b370b22a
commit
4dc6b396da
4 files changed
+23
-5
No files matched your search
@@ -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