forked from Snck3rs/contao-leaflet-maps
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