LuciadCPillar C# 2024.0.02
Luciad.Layers.MbTiles.MbTilesFeatureLayer Class Reference

A layer for feature tile models. More...

Inheritance diagram for Luciad.Layers.MbTiles.MbTilesFeatureLayer:
Luciad.Layers.Layer

Classes

class  Builder
 Builder for the MbTilesFeatureLayer class. More...
 

Static Public Member Functions

static Luciad.Layers.MbTiles.MbTilesFeatureLayer.Builder NewBuilder ()
 Returns a new builder for creating a MbTilesFeatureLayer. More...
 

Properties

bool IsLabeled [get, set]
 Whether this layer displays labels. More...
 
Luciad.Models.FeatureTiles.IFeatureTileModel Model [get]
 The layer's model, which provides the feature tiles to present. More...
 
static string PropertyLabeled = PropertyLabeledInternal() [get]
 Returns the property name for the LayerEvent that is fired as a result of changing the layer's labeled flag. More...
 
static string PropertyStyle = PropertyStyleInternal() [get]
 Returns the property name for the LayerEvent that is fired as a result of changing the layer's style. More...
 
string Style [set]
 
- Properties inherited from Luciad.Layers.Layer
ulong Id [get]
 The layer's unique id. More...
 
bool IsVisible [get, set]
 Whether this layer is visible. More...
 
static string PropertyTitle = PropertyTitleInternal() [get]
 Property name for the LayerEvent that is fired as a result of changing the layer's title. More...
 
static string PropertyVisible = PropertyVisibleInternal() [get]
 Property name for the LayerEvent that is fired as a result of changing the layer's visible flag. More...
 
string Title [get, set]
 The layer's title. More...
 

Additional Inherited Members

- Public Member Functions inherited from Luciad.Layers.Layer
void AddObserver (Luciad.Layers.ILayerObserver layerObserver)
 Adds an observer that allows to receive change events from this layer. More...
 
void Dispose ()
 
void RemoveObserver (Luciad.Layers.ILayerObserver layerObserver)
 Removes the given observer. More...
 

Detailed Description

A layer for feature tile models.

Use MbTilesFeatureLayer.NewBuilder to create a feature tile layer instance.

Since
2024.0

Member Function Documentation

◆ NewBuilder()

static Luciad.Layers.MbTiles.MbTilesFeatureLayer.Builder Luciad.Layers.MbTiles.MbTilesFeatureLayer.NewBuilder ( )
inlinestatic

Returns a new builder for creating a MbTilesFeatureLayer.

Returns
a new builder for creating a MbTilesFeatureLayer.

Property Documentation

◆ IsLabeled

bool Luciad.Layers.MbTiles.MbTilesFeatureLayer.IsLabeled
getset

Whether this layer displays labels.

[get]

Returns whether this layer displays labels.

[set]

Sets whether this layer displays labels. Note that both icons and text (i.e. Mapbox symbols) are considered labels.

◆ Model

Luciad.Models.FeatureTiles.IFeatureTileModel Luciad.Layers.MbTiles.MbTilesFeatureLayer.Model
get

The layer's model, which provides the feature tiles to present.

[get]

Returns the layer's model, which provides the feature tiles to present.

◆ PropertyLabeled

string Luciad.Layers.MbTiles.MbTilesFeatureLayer.PropertyLabeled = PropertyLabeledInternal()
staticget

Returns the property name for the LayerEvent that is fired as a result of changing the layer's labeled flag.

Returns
the property name for the LayerEvent that is fired as a result of changing the layer's labeled flag.
See also
setLabeled

◆ PropertyStyle

string Luciad.Layers.MbTiles.MbTilesFeatureLayer.PropertyStyle = PropertyStyleInternal()
staticget

Returns the property name for the LayerEvent that is fired as a result of changing the layer's style.

Returns
the property name for the LayerEvent that is fired as a result of changing the layer's style.
See also
Style

◆ Style

string Luciad.Layers.MbTiles.MbTilesFeatureLayer.Style
set

[set]

Sets the style of the layer. Calling this method results in new model queries and a full reload of all visible tiles with the new style.

When setting a new style, a LayerEvent is delivered to the observers with the property name MbTilesFeatureLayer.propertyStyle.

Exceptions
System.IO.IOExceptionIf decoding the style fails.
See also
MbTilesFeatureLayer.Builder.Style for the list of supported styles.