Enumerations #
Name |
Values |
AnimationTypes |
None |
Drop |
Bounce |
Constants #
This class exposes no constants.
Events #
Definition |
Parameters |
Return Type |
Description |
This class exposes no events.
Methods #
Definition |
Parameters |
Return Type |
Description |
Constructor |
title as String |
None |
Creates a new instance. |
position as GraffitiMap.Point |
Properties #
Name |
Type |
Default Value |
Description |
AnimationType |
AnimationTypes |
None |
Determines whether the marker is animated in the display. Drop animates when the marker is added, and Bounce animates the marker bouncing until it is removed or its AnimationType is changed. |
IconURL |
String |
“” |
URL to a picture that is applied to the marker and replaces the default pin icon. |
IsClickable |
Boolean |
True |
When True, clicking the marker will raise the MarkerPressed event. |
IsDraggable |
Boolean |
False |
When True, the user may drag the marker around the map to reposition it. |
Label |
String |
“” |
Text to draw over marker icon. |
Opacity |
Double |
1.0 |
Determines the opacity of the marker icon. 0.0 to 1.0 , with 1.0 being fully opaque. |
Position |
GraffitiMap.Point |
Nil |
Location of the marker on the map. |
Tag |
Variant |
Nil |
Developer storage. |
Title |
String |
“” |
Accessibility label. |
Tooltip |
String |
“” |
Tooltip text to display when the user’s mouse is over the marker. |
Visible |
Boolean |
True |
Determines whether the marker is visible on the map. |
ZIndex |
Integer |
-1 |
When greater than 0, will draw the marker at that position in the order of all markers. |
Examples #
Basic Marker #
var johnsonCity as new GraffitiMap.Marker( "Johnson City, TN", new GraffitiMap.Point( 36.320961, -82.341759 ) )
johnsonCity.IconURL = "https://graffitisuite.com/wp-content/uploads/2021/05/favicon.ico"
johnsonCity.Tooltip = "Home of GraffitiSuite!<br />Tooltips support HTML."
johnsonCity.AnimationType = GraffitiMap.Marker.AnimationTypes.Drop
johnsonCity.IsDraggable = True
me.AddMarker( johnsonCity )
Notes #
This class currently has no notes.