Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 594 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 594 Bytes

Leaflet.TileLayer.BlackAndWhite

A regular TileLayer with black and white makeover.

Based on the grayscale TileLayer by Ilya Zverev

Usage

Just use L.tileLayer.blackAndWhite(url, options) instead of L.tileLayer(url, options).

Ilya recommends using fadeAnimation: false option when creating the map object. Otherwise you will see a lot of flickering.

Example

http://aoloe.github.com/leaflet-blackAndWhite/

License

The original plugin was written by Ilya Zverev and published under WTFPL license.