Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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