mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-01 20:43:52 +01:00
Add popup support.
This commit is contained in:
@@ -63,6 +63,10 @@ class GeoJsonSubscriber implements EventSubscriberInterface
|
||||
if ($definition->getPopupContent()) {
|
||||
$feature->setProperty('popupContent', $definition->getPopupContent());
|
||||
}
|
||||
|
||||
if ($definition->getPopupOptions()) {
|
||||
$feature->setProperty('popupOptions', $definition->getPopupOptions());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user