mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 19:13:55 +01:00
Fix dynamic data loading for new request url.
This commit is contained in:
@@ -29,6 +29,6 @@ L.GeoJSON.include({
|
||||
});
|
||||
|
||||
// TODO: Allow other data formats.
|
||||
omnivore.geojson(L.contao.createRequestUrl(this.options.requestHash, e.target), null, dataLayer);
|
||||
omnivore.geojson(L.contao.applyFilterToUrl(this.options.requestUrl, e.target), null, dataLayer);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user