SvgGeneratorGenerateSvgForMapMarker Method
Namespace: MobileTrack.Web.Components.ExtensionsAssembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
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).