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.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

💬 Ask a question or report a problem