Skip to content

equinor/leaflet.tilelayer.gloperations

Repository files navigation

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