mergMKAddPolygonOverlay

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mergMKAddPolygonOverlay(<pCoordinates>, [<pLineWidth>], [<pLineColor>], [<pFillColor>])
Associationsmergmk
Summary

Returns an id for the overlay that was created

Introduced8.0
OSios
Platformsmobile
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.

pFillColor

(optional with "0,0,0,255" 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.

Example
put mergMKAddPolygonOverlay(tCarpark,3,"0,255,0,100","0,255,0,150") into tOverlayID
Values
NameTypeDescription
return

The overlay ID.

Description

Returns an id for the overlay that was created

Tagsexternals