PictureMarkerSymbol class final
Uses an image to symbolize graphics and features that have point or multipoint geometry.
Supported image formats are BMP, GIF, ICO, JPEG, and PNG. Animated GIF is not supported.
- Inheritance
-
- Object
- ArcGISSymbol
- MarkerSymbol
- PictureMarkerSymbol
- Mixed in types
Constructors
- PictureMarkerSymbol()
-
Creates a picture marker symbol.
factory
- PictureMarkerSymbol.withImage(ArcGISImage image)
-
Creates a picture marker symbol with the given image.
factory
- PictureMarkerSymbol.withUri(Uri uri)
-
Creates a picture marker symbol from an image URL.
factory
Properties
- angle ↔ double
-
The angle (in degrees) that the marker symbol is rotated by.
getter/setter pairinherited
- angleAlignment ↔ SymbolAngleAlignment
-
Indicates whether the marker symbol is rotated relative to the screen or
map.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double
-
The height of the picture marker symbol in device-independent pixels
(DIPs).
getter/setter pair
- image → ArcGISImage?
-
The image used to visualize this picture marker symbol.
no setter
- leaderOffsetX ↔ double
-
The callout leader's X offset relative to the marker symbol.
getter/setter pairinherited
- leaderOffsetY ↔ double
-
The callout leader's Y offset relative to the marker symbol.
getter/setter pairinherited
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadStatus → LoadStatus
-
The load status.
no setterinherited
- offsetX ↔ double
-
The offset X of the marker symbol relative to the graphic or feature's
point geometry.
getter/setter pairinherited
- offsetY ↔ double
-
The offset Y of the marker symbol relative to the graphic or feature's
point geometry.
getter/setter pairinherited
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the
LoadStatus
.no setterinherited - opacity ↔ double
-
The opacity for the picture marker symbol.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri?
-
The URL of the picture marker symbol.
no setter
- width ↔ double
-
The width of the picture marker symbol.
getter/setter pair
Methods
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
clone(
) → ArcGISSymbol -
Clones the ArcGISSymbol.
inherited
-
createSwatch(
{required double screenScale, double width = 0, double height = 0, Color backgroundColor = Colors.transparent}) → Future< ArcGISImage> -
Creates a swatch image using the provided width, height, screen scale, and
optional background color.
inherited
-
createSwatchWithGeometry(
{required double screenScale, required double width, required double height, required Geometry geometry, Color backgroundColor = Colors.transparent}) → Future< ArcGISImage> -
Creates a swatch image using the provided geometry, width, height, screen
scale, and optional background color.
inherited
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited