Kaynağa Gözat

update README L.Control extend

gh-pages
Gregor MacLennan 9 yıl önce
ebeveyn
işleme
848c5a9578
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      README.md

+ 1
- 1
README.md Dosyayı Görüntüle

6
 
6
 
7
 ### L.Control.sideBySide(_leftLayer[s]_, _rightLayer[s]_)
7
 ### L.Control.sideBySide(_leftLayer[s]_, _rightLayer[s]_)
8
 
8
 
9
-Creates a new Leaflet Control for comparing two layers or collections of layers. It does not add the layers to the map - you need to do that manually.
9
+Creates a new Leaflet Control for comparing two layers or collections of layers. It does not add the layers to the map - you need to do that manually. Extends `L.Control` but `setPosition()` and `getPosition` are `noop` because the position is always the same - it does not make sense for this control to be in the corner like other Leaflet controls.
10
 
10
 
11
 ### Parameters
11
 ### Parameters
12
 
12
 

Loading…
İptal
Kaydet