SvgGeneratorGenerateGlyph Method

Shows a glyph with icon/image contents. Only to be used as preview.

Definition

Namespace: MobileTrack.Web.Components.Extensions
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static string GenerateGlyph(
	this MapMarkerDto mapMarker,
	Color? overrideColor
)

Parameters

mapMarker  MapMarkerDto
Map marker to render
overrideColor  NullableColor
Override color if the device is a non-acceptable state.

Return Value

String
Generated SVG content

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MapMarkerDto. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

InvalidOperationExceptionThrown when the marker type is invalid

See Also