Galigeo API
    Preparing search index...

    Class Layer

    A map layer defined by an ID and a name

    Index

    Methods

    • Parameters

      • event: string
      • listener: Function

      Returns void

    • Disable the infowindow on this layer. This method is useful if you want to implement your own infowindow outside of the map.

      Returns Promise<any>

    • Filter the layer with a where clause. For example 'pop>2000'

      Parameters

      • where: string

        The where clause

      Returns Promise<any>

    • Parameters

      • event: string
      • Optionalvalue: any

      Returns void

    • Returns string

      the dataset ID used by this layer

    • The datasource ID can be: Datahub, CSV, Excel, Shape, GeoJSON, catalog, sql. A datasourceId=CE means the dataset is dynamically loaded by the API.

      Returns string

      the datasource ID of the layer.

    • Returns string

      the unique ID of the layer

    • Returns string

      the name of the layer

    • Returns boolean

      true is the layer's dataset is provided directly through the API

    • Parameters

      • event: string
      • listener: Function

      Returns boolean

    • Parameters

      • visible: boolean

        true to set visible, false to hide the layer

      Returns Promise<any>