MarkerCaption class
////////////////////////////////////////////////////////////////////////// The caption of a marker
- Inheritance
-
- Object
- Marker
- BasicMarker
- BasicPointMarker
- MarkerCaption
Constructors
- MarkerCaption({required String text, ILatLong? latLong, double strokeWidth = 2.0, int strokeColor = 0xffffffff, int fillColor = 0xff000000, double fontSize = 10.0, int minZoomLevel = 0, int maxZoomLevel = 65535, Position position = Position.BELOW, double dy = 0, int strokeMinZoomLevel = DisplayModel.STROKE_MIN_ZOOMLEVEL_TEXT, required DisplayModel displayModel})
Properties
- base ↔ ShapeCaption
-
getter/setter pairinherited
-
getter/setter pairinherited
- display → Display
-
finalinherited
- dy → double
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- item ↔ dynamic
-
the item this marker represents.
getter/setter pairinherited
- latitude → double
-
no setterinherited
- latLong ↔ ILatLong
-
The position in the map if the current marker is a "point". For path this makes no sense so a pathmarker must control its own position
getter/setter pairinherited
- longitude → double
-
no setterinherited
- mappoint → Mappoint
-
no setterinherited
- markerCaption → MarkerCaption?
-
no setterinherited
- maxZoomLevel ↔ int
-
getter/setter pairinherited
- minZoomLevel ↔ int
-
getter/setter pairinherited
- nodeProperties ↔ NodeProperties
-
getter/setter pairinherited
- position → Position
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scaled ↔ ShapeCaption?
-
getter/setter pairinherited
- shapePaint ↔ ShapePaintCaption
-
getter/setter pairinherited
- text ← String
-
no getter
Methods
-
dispose(
) → void -
inherited
-
getFontSize(
) → double -
inherited
-
isTapped(
TapEvent tapEvent) → bool -
returns true if the position specified by
tapEvent
is in the area of this marker. Note that tapEvent represents the position at the time the tap has been executed.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
MarkerCallback markerCallback) → void -
Renders this object. Called by markerPointer -> markerRenderer
inherited
-
renderBitmap(
MarkerCallback markerCallback) → void -
renders the bitmap portion of this marker. This method is called by render() which also call the render method for the caption
inherited
-
renderCaption(
MarkerCallback markerCallback) → void -
setDy(
double dy) → void -
inherited
-
setFillColorFromNumber(
int fillColor) → void -
setLatLong(
ILatLong latLong) → void -
inherited
-
setMarkerCaption(
MarkerCaption? markerCaption) → void -
inherited
-
setStrokeColorFromNumber(
int strokeColor) → void -
setSymbolBoundary(
MapRectangle symbolBoundary) → void -
inherited
-
shouldPaint(
BoundingBox boundary, int zoomLevel) → bool -
returns true if the marker should be painted. The
boundary
represents the currently visible areainherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited