GraffitiMap.Popup

View Categories

Enumerations #

Name Values

This class exposes no enumerations.

Constants #

Name Type Value

This class exposes no constants.

Events #

Definition Parameters Return Type Description

This class exposes no events.

Methods #

Definition Parameters Return Type Description
Constructor content as String None Creates a new instance.
position as GraffitiMap.Point
Focus None None Sets focus to the popup.
Hide None None Hides the popup.
Show None None Shows the popup.

Properties #

Name Type Default Value Description
AriaLabel String “” Accessibility label.
AutoPan Boolean True When True, after being added to a Map, the Map will pan to show the popup.
Content String “” HTML that is contained within the popup.
MaxWidth Integer -1 Maximum width of the popup. -1 for default.
MinWidth Integer -1 Minimum width of the popup. -1 for default.
PixelOffset Xojo.Point Nil Distance from Position to show the Popup’s tip.
Position GraffitiMap.Point Nil Location of the Popup’s tip on the map.
Tag Variant Nil Developer storage.
Visible Boolean False Determines whether the popup is currently visible.

Examples #

Basic Popup #

var popup as new GraffitiMap.Popup( "Center of the World!", new GraffitiMap.Point( 0, 0 ) )
demoMap.AddPopup( popup )

Notes #

This class currently has no notes.