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

  • OptionalactiveOnStartup?: boolean

    if true the layer will be activated on initialization

  • OptionalallowPicking?: boolean

    whether to allow picking on this layer

  • Optionalcopyright?: CopyrightOptions
  • OptionaldatasourceId?: string

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

  • OptionalexclusiveGroups?: (string | symbol)[]
  • Optionalextent?: ExtentOptions

    metadata on the data extent of the layer.

  • Optionalheaders?: Record<string, string>

    Optional Request Headers which will be sent with each request.

  • OptionalhiddenObjectIds?: string[]

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

  • OptionalmapNames?: string[]

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

  • Optionalurl?: string | Record<string, string>
  • OptionalzIndex?: number

    zIndex of this layer