Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/Zverik/leaflet-grayscale
- Owner: Zverik
- Created: 2013-03-28T12:13:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2023-02-14T11:29:14.000Z (over 1 year ago)
- Last Synced: 2024-04-06T07:35:07.165Z (6 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 103
- Watchers: 11
- Forks: 37
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
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.