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

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

This function is free to use.

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


MapView.ShowAddress - MapView.Snapshot