mirror of
https://github.com/netzmacht/contao-leaflet-maps.git
synced 2025-12-02 13:03:43 +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 hash The leaflet url hash.
|
||||||
* @param type The response content format.
|
* @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.
|
// Required because Control.Loading tries to get _leafet_id which is created here.
|
||||||
L.stamp(layer);
|
L.stamp(layer);
|
||||||
|
|
||||||
// Add listender for map bounds changes.
|
// Add listener for map bounds changes.
|
||||||
if (map.options.dynamicLoad && layer.options.boundsMode == 'fit') {
|
if (map.options.dynamicLoad && layer.options.boundsMode == 'fit') {
|
||||||
layer.options.requestHash = hash;
|
layer.options.requestHash = hash;
|
||||||
map.on('moveend', layer.refreshData, layer);
|
map.on('moveend', layer.refreshData, layer);
|
||||||
|
|||||||
Reference in New Issue
Block a user