Fix dynamic data loading for new request url.

This commit is contained in:
David Molineus
2018-11-01 10:26:38 +01:00
parent 83226cdd80
commit c661abb626
3 changed files with 35 additions and 3 deletions

View File

@@ -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);
}
});