Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 441 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 441 Bytes

Leaflet.TileLayer.Grayscale

A regular TileLayer with grayscale makeover.

Usage

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

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

Example

https://zverik.github.io/leaflet-grayscale/

License

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