Bläddra i källkod

Corrected type in title as well

Following PR #1, corrected `L.Control.sideBySide` to `L.control.sideBySide` as well in first section title, to avoid confusion.
gh-pages
ghybs 9 år sedan
förälder
incheckning
1d423a1e14
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      README.md

+ 1
- 1
README.md Visa fil

@@ -4,7 +4,7 @@ A Leaflet control to add a split screen to compare two map overlays.
4 4
 
5 5
 ![screencast example](screencast.gif)
6 6
 
7
-### L.Control.sideBySide(_leftLayer[s]_, _rightLayer[s]_)
7
+### L.control.sideBySide(_leftLayer[s]_, _rightLayer[s]_)
8 8
 
9 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
 

Laddar…
Avbryt
Spara