Skip to content

location-iq/leaflet-grayscale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%