Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets fill color for an overlay.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.SetOverlayFillColor"; MapView; Overlay Identifier; color )   More


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.


Returns OK or error.


Sets fill color for an overlay.


Change color to red:

MBS( "MapView.SetOverlayFillColor"; $$MapView; "82001"; "#FF0000" )

See also

Release notes

Example Databases

Blog Entries

This function is free to use.

Created 19th September 2019, last changed 19th September 2019

MapView.SetMapType - MapView.SetOverlayLineWidth