mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2026-01-17 21:05:17 +01:00
Support popups.
This commit is contained in:
@@ -77,6 +77,10 @@ class OverpassLayerMapper extends AbstractLayerMapper
|
||||
if ($model->onEachFeature) {
|
||||
$definition->setOnEachFeature(new Expression($model->onEachFeature));
|
||||
}
|
||||
|
||||
if ($model->overpassPopup) {
|
||||
$definition->setOption('overpassPopup', new Expression($model->overpassPopup));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user