/leaflet-blackAndWhite

Black and White TileLayer for Leaflet

Primary LanguageJavaScript

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.