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

MapView.SetFrame

Sets a new frame for the map view.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.0 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.SetFrame"; MapView; X; Y; Width; Height )   More

Parameters

Parameter Description Example
MapView The map view reference number. $$MapView
X The x coordinate.
Y The y coordinate.
Width The width of the control.
Height The height of the control.

Result

Returns OK or error.

Description

Sets a new frame for the map view.
As Cocoa framework uses zero for the bottom coordinate, we have to swap for the normal topdown coordinates to be used.

See also

Release notes

Blog Entries

This function checks for a license.

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


MapView.SetCoordinate - MapView.SetFrameWithControl