LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Layers.MbTiles.MbTilesFeatureLayer Class Referencesealed

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...

Public Member Functions

Luciad.Layers.MbTiles.MbTilesFeatureLayer.Builder AsBuilder ()
 Returns a new builder based on this layer instance.
override bool Equals (object obj)
override int GetHashCode ()
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.
void Dispose ()
void RemoveObserver (Luciad.Layers.ILayerObserver layerObserver)
 Removes the given observer.

Static Public Member Functions

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

Properties

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

Detailed Description

A layer for feature tile models.

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

Since
2024.0

Member Function Documentation

◆ AsBuilder()

Luciad.Layers.MbTiles.MbTilesFeatureLayer.Builder Luciad.Layers.MbTiles.MbTilesFeatureLayer.AsBuilder ( )
inline

Returns a new builder based on this layer instance.

You can use this builder, for example, to create a copy of this layer.

Note that observers will not be transferred to a new layer.

Returns
a new builder based on this layer instance.
Since
2025.0

◆ Equals()

override bool Luciad.Layers.MbTiles.MbTilesFeatureLayer.Equals ( object obj)
inline

◆ GetHashCode()

override int Luciad.Layers.MbTiles.MbTilesFeatureLayer.GetHashCode ( )
inline

◆ NewBuilder()

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

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

[get]

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

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

[get]

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.