gws.common.layer.layer¶
-
class
gws.common.layer.layer.
Config
(*args, **kwargs)[source]¶ Layer configuration
-
clientOptions
= {}¶ options for the layer display in the client
-
dataModel
= None¶ layer data model
-
display
= 'box'¶ layer display mode
-
edit
= None¶ editing permissions
-
extent
= None¶ layer extent
-
extentBuffer
= None¶ extent buffer
-
legend
= {}¶ legend configuration
-
meta
= None¶ layer meta data
-
opacity
= 1¶ layer opacity
-
ows
= {}¶ OWS services options
-
search
= {}¶ layer search configuration
-
templates
= None¶ client templates
-
title
= ''¶ layer title
-
zoom
= None¶ layer resolutions and scales
-
-
class
gws.common.layer.layer.
CustomConfig
(*args, **kwargs)[source]¶ Custom layer configuration
-
applyTo
= None¶ source layers this configuration applies to
-
clientOptions
= None¶ options for the layer display in the client
-
dataModel
= None¶ layer data model
-
display
= None¶ layer display mode
-
edit
= None¶ editing permissions
-
extent
= None¶ layer extent
-
extentBuffer
= None¶ extent buffer
-
legend
= None¶ legend configuration
-
meta
= None¶ layer meta data
-
opacity
= None¶ layer opacity
-
ows
= None¶ OWS services options
-
search
= None¶ layer search configuration
-
templates
= None¶ client templates
-
title
= None¶ layer title
-
zoom
= None¶ layer resolutions and scales
-
-
class
gws.common.layer.layer.
Layer
[source]¶ -
props
¶
-
description
¶
-
has_search
¶
-
has_legend
¶
-
own_bounds
¶
-
default_search_provider
¶
-
legend_url
¶
-
configure_metadata
(provider_meta=None) → gws.types.MetaData[source]¶ Load metadata from the config or from a provider, whichever comes first.
-
edit_operation
(operation: str, feature_props: List[gws.types.FeatureProps]) → List[gws.types.IFeature][source]¶
-