GraffitiMap.Shapes.Polyline

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 path() as GraffitiMap.Point None Creates a new instance.
Constructor path() as GraffitiMap.Point None Creates a new instance.
icons() as GraffitiMap.IconSequence

Properties #

Name Type Default Value Description
icons GraffitiMap.IconSequence() Nil IconSequences to apply to the path.
path GraffitiMap.Point() Nil Points that compose the polyline.

Examples #

Sample Polyline #

var linePath() as GraffitiMap.Point
linePath.Add( new GraffitiMap.Point( 37.772, -122.214 ) )
linePath.Add( new GraffitiMap.Point( 21.291, -157.821 ) )
linePath.Add( new GraffitiMap.Point( -18.142, 178.431 ) )
linePath.Add( new GraffitiMap.Point( -27.467, 153.027 ) )
var line as new GraffitiMap.Shapes.Polyline( linePath )
line.Tooltip = "<h3>First trans-Pacific flight</h3><br />" + _
  "<strong>Start</strong>: Oakland, CA<br />" + _
  "<strong>End</strong>: Brisbane, Australia<br />" + _
  "<strong>Pilot</strong>: Charles Kingsford Smith<br />" + _
  "<strong>Year</strong>: 1928"
line.StrokeColor = color.RGB( 255, 0, 0, 150 )
line.StrokeWeight = 2
line.Geodesic = True
line.Draggable = True
line.Editable = True
me.AddShape( line )

Notes #

This class currently has no notes.