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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

MapView.SetCoordinate

Sets center coordinate of the map.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.0 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.SetCoordinate"; MapView; Latitude; Longitude { ; ZoomLevel; Animated } )   More

Parameters

Parameter Description Example Flags
MapView The map view reference number. $$MapView
Latitude The latitude of the coordinate.
Longitude The longitude of the coordinate.
ZoomLevel Optional zoom level in range from 0 to 20. Optional
Animated Whether to animate the change.
Default is 1 to animate.
1 Optional

Result

Returns OK or error.

Description

Sets center coordinate of the map.

See also

Example Databases

Created 14th January 2019, last changed 28th November 2019


MapView.SetColor - MapView.SetFrame

Feedback: Report problem or ask question.