PictureMarkerSymbol class

A picture marker on the map

Add a uri of an image to display it as a marker in the whole feature layer It can be a url or a local path, in which the image is stored locally For example 'web/icons/Icon-192.png' or 'https://someUrl.png'

xOffset The offset on the x-axis in pixels yOffset The offset on the y-axis in pixels

Inheritance

Constructors

PictureMarkerSymbol({required String webUri, required String mobileUri, required double width, required double height, int xOffset = 0, int yOffset = 0})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
height double
final
mobileUri String
This uri refers to a remote image url only.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
webUri String
Add a webUri of an image to display it as a marker in the whole feature layer This can be a url or a local path in which the image is stored locally. For example 'web/icons/Icon-192.png' or 'https://someUrl.png'
final
width double
final
xOffset int
final
yOffset int
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
when<R>({required R ifSimpleFillSymbol(SimpleFillSymbol symbol), required R ifSimpleMarkerSymbol(SimpleMarkerSymbol symbol), required R ifPictureMarkerSymbol(PictureMarkerSymbol symbol), required R ifSimpleLineSymbol(SimpleLineSymbol symbol), required R ifMeshSymbol3D(MeshSymbol3D symbol)}) → R
inherited

Operators

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