Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Zverik/leaflet-grayscale

Grayscale TileLayer for Leaflet
https://github.com/Zverik/leaflet-grayscale

Last synced: about 2 months ago
JSON representation

Grayscale TileLayer for Leaflet

Awesome Lists containing this project

README

        

# 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.