Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AlloyWfsLayerStyle

an alloy wfs layer style informs an alloy layer about how to style its contents

Hierarchy

Index

Constructors

constructor

  • new AlloyWfsLayerStyle(styleId: string, url: string, featureName: string, epsg: number, version: string, colour: string, icon?: undefined | string, labelTitle?: undefined | string, labelSubtitle?: undefined | string, opacity?: AlloyLayerStyleOpacity, scale?: AlloyLayerStyleScale, loadAll?: undefined | false | true, outputFormat?: undefined | string): AlloyWfsLayerStyle
  • creates a new instance

    Parameters

    • styleId: string

      the style id

    • url: string

      url for WFS service

    • featureName: string

      WFS FeatureType name

    • epsg: number

      EPSG id to use for WFS responses

    • version: string

      version of WFS service

    • colour: string

      the colour of the style

    • Optional icon: undefined | string

      the icon font class name

    • Optional labelTitle: undefined | string

      WFS property name to use for the title

    • Optional labelSubtitle: undefined | string

      WFS property name to use for the subtitle

    • Optional opacity: AlloyLayerStyleOpacity

      the opacity to use when displaying style features, defaults to 1

    • Optional scale: AlloyLayerStyleScale

      the scale to use when displaying style features, defaults to 1

    • Optional loadAll: undefined | false | true

      whether all items should be loaded in one go

    • Optional outputFormat: undefined | string

      optional format to use for WFS requests

    Returns AlloyWfsLayerStyle

Properties

colour

colour: string

the colour of the layer style in hex

Optional icon

icon: undefined | string

the icon of the style, should be a font class name

labelMode

whether to show labels against features (where applicable)

Optional labelSubtitle

labelSubtitle: undefined | string

the WFS property name to use for the subtitle

Optional labelTitle

labelTitle: undefined | string

the WFS property name to use for the title

Optional loadAll

loadAll: undefined | false | true

Whether to load all WFS features for this style in one go

opacity

opacity of the style

Optional outputFormat

outputFormat: undefined | string

WFS service supported output format to use for requests

scale

scale: AlloyLayerStyleScale | null

scale for style features

styleId

styleId: string

the styles unique id

Generated using TypeDoc