mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Improve handling of omnivore data loading.
This commit is contained in:
@@ -113,7 +113,7 @@ L.contao = new (L.Class.extend({
|
||||
* @param customLayer optional custom layer.
|
||||
* @param map Pass a map object so that the data loading events are passed to the map.
|
||||
*/
|
||||
loadLayer: function(hash, type, options, customLayer, map) {
|
||||
load: function(hash, type, options, customLayer, map) {
|
||||
var url = this.createRequestUrl(hash);
|
||||
var layer = omnivore[type](url, options, customLayer);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user