crnm21 / leaflet-grayscale

Grayscale TileLayer for Leaflet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

http://zverik.github.com/leaflet-grayscale/

License

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

About

Grayscale TileLayer for Leaflet


Languages

Language:JavaScript 100.0%