Skip to content

Commit e185d99

Browse files
committed
Fixup readme
1 parent f9761db commit e185d99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A Leaflet control to add a split screen to compare two map overlays.
66

77
![screencast example](screencast.gif)
88

9-
### L.control.sideBySide(_leftLayer[s]_, _rightLayer[s]_)
9+
### L.control.splitMap(_leftLayer[s]_, _rightLayer[s]_)
1010

1111
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.
1212

0 commit comments

Comments
 (0)