Method GetSymbol
GetSymbol(GeoElement)
Returns the symbol the renderer uses to represent the supplied GeoElement.
Declaration
public Symbol GetSymbol(GeoElement element)
Parameters
Type | Name | Description |
---|---|---|
GeoElement | element | The input GeoElement. |
Returns
Type | Description |
---|---|
Symbol | The Symbol used to represent the GeoElement. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |
GetSymbol(GeoElement, Boolean)
Returns the symbol that should be used to visualize the given GeoElement with override attributes from renderer.
Declaration
public Symbol GetSymbol(GeoElement element, bool applyAttributeOverrides)
Parameters
Type | Name | Description |
---|---|---|
GeoElement | element | The input GeoElement. |
Boolean | applyAttributeOverrides | A value indicating whether override attributes from renderer is applied. |
Returns
Type | Description |
---|---|
Symbol | The Symbol used to represent the GeoElement. |
Remarks
If applyAttributeOverrides
is set to true
and renderer contains an override expression,
this method will return a symbol modified by the expression. If the expression cannot be properly evaluated due
to missing fields or external data, then the original symbol is returned.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.5 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 100.15 |