mergMKAddCircleOverlay

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
mergMKAddCircleOverlay(<pCoordinate>, <pRadius>, [<pLineWidth>], [<pLineColor>], [<pFillColor>])
Associationsmergmk
Summary

Returns an id for the overlay that was created

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pCoordinate

the center of the circle in decimal coordinates (latitude,longitude)

pRadius

the radius of the circle in metres

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 mergMKAddCircleOverlay(tPicnicArea,20,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