IconOptions class

Annotations
  • @JS()
  • @anonymous

Constructors

IconOptions({String? iconUrl, String? iconRetinaUrl, Point? iconSize, Point? iconAnchor, Point? popupAnchor, Point? tooltipAnchor, String? shadowUrl, String? shadowRetinaUrl, Point? shadowSize, Point? shadowAnchor, String? className})
factory

Properties

className String
A custom class name to assign to both icon and shadow images. Empty by default.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconAnchor Point
The coordinates of the "tip" of the icon (relative to its top left corner). The icon will be aligned so that this point is at the marker's geographical location. Centered by default if size is specified, also can be set in CSS with negative margins.
getter/setter pair
iconRetinaUrl String
The URL to a retina sized version of the icon image (absolute or relative to your script path). Used for Retina screen devices.
getter/setter pair
iconSize Point
Size of the icon image in pixels.
getter/setter pair
iconUrl String
(required) The URL to the icon image (absolute or relative to your script path).
getter/setter pair
popupAnchor Point
The coordinates of the point from which popups will "open", relative to the icon anchor.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowAnchor Point
The coordinates of the "tip" of the shadow (relative to its top left corner) (the same as iconAnchor if not specified).
getter/setter pair
shadowRetinaUrl String
getter/setter pair
shadowSize Point
Size of the shadow image in pixels.
getter/setter pair
shadowUrl String
/ The URL to the icon shadow image. If not specified, no shadow image will be created.
getter/setter pair
tooltipAnchor Point
The coordinates of the point from which tooltips will "open", relative to the icon anchor.
getter/setter pair

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