Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  

MapView.SetZoomLevel

Sets zoom level.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MapView 9.5 Yes No No No Yes
MBS( "MapView.SetZoomLevel"; MapView; ZoomLevel { ; Animated } )   More

Parameters

Parameter Description Example value
MapView The map view reference number. $$MapView
ZoomLevel The new zoom level.
Range 1 to 20.
5
Animated Optional
Whether to animate.
Pass 1 to animate or 0 to not animate.
Default is animated.
1

Result

Returns OK or error.

Description

Sets zoom level.

Examples

Zoom one level in:

MBS( "MapView.SetZoomLevel"; $$MapView; MBS( "MapView.GetZoomLevel"; $$MapView ) + 1; 1)

Zoom out:

MBS( "MapView.SetZoomLevel"; $$MapView; 1; 1)

See also

Blog Entries

Created 20th September 2019, last changed 20th September 2019


MapView.SetZoomEnabled   -   MapView.ShowAddress

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins