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.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

MapView.SetColor

Sets color of a Pin.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.SetColor"; MapView; Annotation Identifier; color )   More

Parameters

Parameter Description Example
MapView The map view reference number. $$MapView
Annotation Identifier The identifier for the annotation. "82001"
color The color to use.
Can be a color name or hex notation like in HTML.
"#FF0000"

Result

Returns OK or error.

Description

Sets color of a Pin.

Examples

Changes color to blue:

MBS( "MapView.SetColor"; "78001"; "82001"; "#0000FF" )

Blog Entries

This function is free to use.

Created 7th September 2019, last changed 9th September 2019


MapView.SetAutoResizingMask - MapView.SetCoordinate

💬 Ask a question or report a problem