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

MapView.SetMapType

Sets the map type.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.0 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.SetMapType"; MapView; Value )   More

Parameters

Parameter Description Example
MapView The map view reference number. $$MapView
Value The new map type.
Can be Standard, Satellite, Hybrid, SatelliteFlyover, HybridFlyover or MutedStandard.
"Hybrid"

Result

Returns OK or error.

Description

Sets the map type.

Examples

Switch to hybrid flyover:

MBS( "MapView.SetMapType"; $$MapView; "HybridFlyover" )

See also

Example Databases

This function is free to use.

Created 14th January 2019, last changed 16th January 2019


MapView.SetFrameWithControl - MapView.SetOverlayFillColor