VisiOmatic web client

Class

CatalogUI

Extends

new CatalogUI(catalogs, optionsopt) → {CatalogUI}

Create a VisiOmatic dialog for catalog queries and catalog overlays.

Parameters

  • catalogs Array.<Catalog>

    Array of catalogs

  • options object <optional>

    Options.

    Properties

    • title string <optional>
      'Catalog overlays'

      Title of the dialog window or panel.

    • color string <optional>
      '#FFFF00'

      Default catalog overlay color.

    • timeOut number <optional>
      30

      Time out delay for catalog queries, in seconds.

    • authenticate boolean <optional>
      false

      Force authentication for querying catalogs?

See

  • UI for additional control options.

Returns

  • CatalogUI

    VisiOmatic CatalogUI instance.

Source

Members

Methods

privatestatic

_getCatalog(catalog, timeoutopt)

Query catalog.

Parameters

  • catalog Catalog

    Catalog.

  • timeout number <optional>

    Query time out delay, in seconds. Defaults to no time out.

Source

privatestatic

_loadCatalog(catalog, templayer, response)

Load catalog data and display the overlay layer.

Parameters

  • catalog Catalog

    Catalog.

  • templayer leaflet.Layer

    "Dummy" layer to activate a spinner sign.

  • response object

    Response object from the fetch() request.

Source