MapSvgIcon class

class create a icon for svg code sets to the path

Constructors

MapSvgIcon({required String path, Point? anchor, Point? labelOrigin, Color fillColor = Colors.black, double fillOpacity = 1, Color strokeColor = Colors.black, double strokeOpacity = 1, double strokeWeight = 1, double scale = 1, double rotation = 0})

Properties

anchor Point?
The position at which to anchor an image in correspondence to the location of the marker on the map. By default, the anchor is located along the center point of the bottom of the image.
finalinherited
fillColor Color
final
fillOpacity double
final
hashCode int
The hash code for this object.
no setterinherited
labelOrigin Point?
The origin of the label relative to the top-left corner of the icon image, if a label is supplied by the marker. By default, the origin is located in the center point of the image.
finalinherited
path String
final
rotation double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
final
strokeColor Color
final
strokeOpacity double
final
strokeWeight double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited