Skip to main content

mergMKAddPolylineOverlay

Type​

function

Summary​

Returns an id for the overlay that was created

Syntax​

mergMKAddPolylineOverlay(<pCoordinates>, [<pLineWidth>], [<pLineColor>])

Description​

Returns an id for the overlay that was created

Parameters​

NameTypeDescription

pCoordinates

a list of locations (one per line) in decimal coordinates (latitude,longitude)

pLineWidth

(optional with 3 default) the width of the line in points defaults to 3

pLineColor

(optional with "0,0,0,0" default) the color of the line defaults to opaque red. The string is an RGB value with each color component an integer between 0 and 255. An optional fourth item between 0 and 255 may be included to represent the alpha transparency.

Examples​

put mergMKAddPolylineOverlay(tTrack,3,"0,255,0,100") into tOverlayID

Value​

NameTypeDescription

return

The overlay ID.

Compatibility and Support​

Introduced

LiveCode 8.0

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?