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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    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

This function is free to use.

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


MapView.ShowAddress - MapView.Snapshot

💬 Ask a question or report a problem