Type alias LayerOptions

LayerOptions: VcsObjectOptions & {
    activeOnStartup?: boolean;
    allowPicking?: boolean;
    copyright?: CopyrightOptions;
    datasourceId?: string;
    exclusiveGroups?: (string | symbol)[];
    extent?: ExtentOptions;
    headers?: Record<string, string>;
    hiddenObjectIds?: string[];
    mapNames?: string[];
    url?: string | Record<string, string>;
    zIndex?: number;
}

Type declaration

  • Optional activeOnStartup?: boolean

    if true the layer will be activated on initialization

  • Optional allowPicking?: boolean

    whether to allow picking on this layer

  • Optional copyright?: CopyrightOptions
  • Optional datasourceId?: string

    Optional Id to synchronize with the vcPublisher Datasources. This can also be used to track a connection to other sources of data.

  • Optional exclusiveGroups?: (string | symbol)[]
  • Optional extent?: ExtentOptions

    metadata on the data extent of the layer.

  • Optional headers?: Record<string, string>

    Optional Request Headers which will be sent with each request.

  • Optional hiddenObjectIds?: string[]

    an array of building ids which should be hidden if this layer is active

  • Optional mapNames?: string[]

    the map names on which this layer is shown, all if empty or undefined

  • Optional url?: string | Record<string, string>
  • Optional zIndex?: number

    zIndex of this layer

Generated using TypeDoc