get_layer


Description:

public unowned string get_layer ()

Gets the name of the layer the clicked symbol is in, as named in the vector stylesheet.

Note that this is distinct from the name of the layer in the vector tile schema. Some styles have multiple symbol layers derived from the same data source layer.

Parameters:

this

a [class@SymbolEvent]

Returns:

the layer name