0.4.2 • Published 2 years ago

leaflet.tilelayer.gloperations v0.4.2

Weekly downloads
5
License
BSD-3-Clause
Repository
github
Last release
2 years ago

npm version Build Status Total alerts Language grade: JavaScript Known Vulnerabilities

Leaflet.TileLayer.GLOperations

Custom Leaflet TileLayer using WebGL to do operations on and colorize floating-point pixels

Resources

Features

  • GPU rendering
  • A simple declarative API
  • A small configuration language for describing how to colorize pixels
    • Interpolated color scale
    • Sentinel values with optional labels
  • Raw float pixel value(s) provided to mouse event handlers
  • Hillshading
  • Contours
  • Animated per-pixel transitions when changing URL and/or colormaps
  • Load multiple tile layers, do operations on them and return result layer:
    • Difference between two tile layers
    • Analysis of multiple tile layers (supports 1-6 layers currently). Filter values and use a multiplier for each layer.
    • Return pixel values for both input and result layers