SvgGeneratorGenerateSvgForMapMarker Method
Namespace: MobileTrack.Web.Components.ExtensionsAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static string GenerateSvgForMapMarker(
this MapMarkerDto marker,
Color? color = null,
int canvasSize = 0,
int radius = 48
)
- marker MapMarkerDto
- MapMarker to generate for
- color NullableColor (Optional)
- CSS class to apply (for the color)
- canvasSize Int32 (Optional)
- Canvas size. If not set, the marker's own size will be used.
- radius Int32 (Optional)
- Size of the radius of the item
StringGenerated SVGIn 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).