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.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    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

This function is free to use.

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


MapView.SetColor - MapView.SetFrame

💬 Ask a question or report a problem