VisiOmatic web client

Class

PixelValues

Extends
  • leaflet.Control

new PixelValues(optionsopt) → {PixelValue}

Create a new pixel value display interface.

Parameters

  • options object <optional>

    Options.

    Properties

    • title string <optional>
      'Pixel value(s)'

      Title of the control.

    • position 'bottomleft' | 'bottomright' | 'topleft' | 'topright' <optional>
      'topright'

      Position of the value display.

    • valueSettings Array.<valueSettings> <optional>

      Value settings for every instance of pixelValues.

    • dragUpdate boolean <optional>
      true

      Update while dragging map?

Returns

  • PixelValue

    Instance of a pixel value display interface.

Source

Methods

privatestatic

_checkVisiomatic(e)

Check that the layer being loaded is a VisiOmatic layer.

Parameters

  • e leaflet.LayerEvent

    Leaflet layer event object.

Source

privatestatic

_onUpdate(e)

Update coordinates when the map is being dragged.

Parameters

  • e leaflet.LayerEvent

    Leaflet layer event object.

Source

static

onRemove(mapopt)

Remove map update event when the coordinate display/control is removed.

Parameters

  • map leaflet.map <optional>

    The parent map.

Source