Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets fill color for an overlay.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
MapView | The map view reference number. | $$MapView |
Overlay Identifier | The identifier for the overlay to use. | "82001" |
color | A color value. This can be a common color name or color in hex notation: # followed by 2 digits for red, green, blue and optional alpha, e.g. #FF0000 for full red. |
"#FF0000" |
Returns OK or error.
Change color to red:
MBS( "MapView.SetOverlayFillColor"; $$MapView; "82001"; "#FF0000" )
This function is free to use.
Created 19th September 2019, last changed 19th September 2019