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: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  

MapView.ShowAllAnnotations

Zooms map to show all annotations.

Component Version macOS Windows Linux Server iOS SDK
MapView 9.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.ShowAllAnnotations"; MapView { ; Overlays } )   More

Parameters

Parameter Description Example Flags
MapView The map view reference number. $$MapView
Overlays Pass 1 to also check overlays.
Default is zero to only check annotations.
0 Optional

Result

Returns OK or error.

Description

Zooms map to show all annotations.
The plugin loops over the annotations to calculate a bounding rectangle for all annotations and zoom the map to make them all visible with some border space around.

Examples

Show all annotations and overlays:

Set Variable [ $r ; Value: MBS("MapView.ShowAllAnnotations"; $$MapView; 1) ]

See also

Release notes

Example Databases

Blog Entries

Created 11st February 2019, last changed 31st August 2022


MapView.ShowAddress - MapView.Snapshot

Feedback: Report problem or ask question.


Start Chat