mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-11-28 11:04:08 +01:00
Typos.
This commit is contained in:
@@ -110,7 +110,7 @@ L.Contao = L.Class.extend({
|
||||
},
|
||||
|
||||
/**
|
||||
* Layer a url into a layer using omnivore.
|
||||
* Load data from an url into a layer using omnivore.
|
||||
*
|
||||
* @param hash The leaflet url hash.
|
||||
* @param type The response content format.
|
||||
@@ -126,7 +126,7 @@ L.Contao = L.Class.extend({
|
||||
// Required because Control.Loading tries to get _leafet_id which is created here.
|
||||
L.stamp(layer);
|
||||
|
||||
// Add listender for map bounds changes.
|
||||
// Add listener for map bounds changes.
|
||||
if (map.options.dynamicLoad && layer.options.boundsMode == 'fit') {
|
||||
layer.options.requestHash = hash;
|
||||
map.on('moveend', layer.refreshData, layer);
|
||||
|
||||
Reference in New Issue
Block a user