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
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.withUrl(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, Size? size, Color backgroundColor = Colors.transparent}) Future<ArcGISImage>
Creates a swatch image using the provided width, height, screen scale, and optional background color.
inherited
createSwatchCancelable({required double screenScale, Size? size, Color backgroundColor = Colors.transparent}) CancelableOperation<ArcGISImage>
Cancelable version of createSwatch. See that method for more information.
inherited
createSwatchWithGeometry({required double screenScale, required Size size, 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
createSwatchWithGeometryCancelable({required double screenScale, required Size size, required Geometry geometry, Color backgroundColor = Colors.transparent}) CancelableOperation<ArcGISImage>
Cancelable version of createSwatchWithGeometry. See that method for more information.
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