GraffitiSuite Docs
Docs
Marker
Loading document parsing libraries...
# Marker Class ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | True | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | AnimationTypes | None <br> Drop <br> Bounce | Supported animation styles. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Close | (None) | (None) | | | Constructor | title as String <br> position as GraffitiMap.Point | (None) | Creates a new instance of the class. | | Attributes | Hidden | toJavaScript | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | AnimationType | AnimationTypes | Nil | | | Attributes | mParent | GraffitiUpdateInterface | | | Icon | GraffitiMap.Icon | Nil | | | IconURL | String | Nil | | | ID | String | Nil | | | IsClickable | Boolean | Nil | | | IsDraggable | Boolean | Nil | | | Label | String | Nil | | | Opacity | Double | Nil | | | Position | GraffitiMap.Point | Nil | | | Tag | Variant | Nil | Developer storage. | | Title | String | Nil | | | Tooltip | String | Nil | | | Visible | Boolean | Nil | | | ZIndex | Integer | Nil | | ## 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 ) ```