Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional copyright

copyright: string

Copyright information for this layer

Optional fullExtent

fullExtent: Extent

The full extent to use for this layer

Optional gcxMapServiceDefinition

gcxMapServiceDefinition: any

The geocortex map service definition as returned from essentials.MapService.toJson(). Used for user-added map services.

id

id: string

A unique identifying string for the layer.

Optional isUserCreated

isUserCreated: boolean

Whether or not the service was created by a user at runtime

Optional layerType

layerType: string

Not in official spec, but present in some newer web maps.

layers

layers: Layer[]

Optional opacity

opacity: number

The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.

Optional styleUrl

styleUrl: string

Vector Tiled layers have a style url, not a url

Optional subDomains

subDomains: string[]

Web tiled layers can have a list of subdomains used to make requests

Optional title

title: string

A user-friendly title for the layer that can be used in a table of contents. If this is not included, then a title is derived from the service.

Optional url

url: string

The URL to the layer. For well-known basemap types such as Bing Aerial, the URL should be empty.

Optional userLayerType

userLayerType: string

The type of user created layer, if any. One of:

  • LayerAddition - the layer was added by browsing/searching for services and layers in a dialog
  • LayerCatalog - the layer was added from a catalog
  • Upload - the layer was added by uploading a file

Only applies to layers created at runtime.

Optional visibility

visibility: boolean

Determines whether the layer is initially visible in the web map.