Improve handling of omnivore data loading.

This commit is contained in:
David Molineus committed 2015-01-18 13:14:32 +01:00
1 parent 1660f61099
commit 8da943dd9d
2 files changed
+12 -30

No files matched your search

+1 -1
View File
@@ -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);