MapView.GetWindow
-----------------

Queries window number for the window the MapView is placed on.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [MapView](component_MapView.md) | [15.2](newinversion152.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "MapView.GetWindow"; MapView ) 

**MBS**( **"MapView.GetWindow"** /\* Queries window number for the window the MapView is placed on. \*/  
**$MapView**) /\* The map view reference number. e.g. $$MapView \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| MapView | The map view reference number. | $$MapView |

### Result

Returns number or error.

### Description

Queries window number for the window the MapView is placed on.  
You can compare this number to the one returned by [Window.Current](WindowCurrent.md) function.  
### See also

- [MapView.GetRegion](MapViewGetRegion.md)
- [MapView.GetWidth](MapViewGetWidth.md)
- [Window.Current](WindowCurrent.md)

### Release notes

- **Version 15.2**
    - Added [MapView.GetWindow](https://www.mbsplugins.eu/MapViewGetWindow.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 15.2pr1](https://www.mbsplugins.de/archive/2025-04-01/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 31st March 2025 , last changed 31st March 2025

  
[MapView.GetWidth](MapViewGetWidth.md) - [MapView.GetZoomEnabled](MapViewGetZoomEnabled.md)

[HTML Version](MapViewGetWindow.shtml)