MadelineProtoDocs/docs/API_docs/constructors/pageBlockMap.md
2024-05-01 14:53:46 +02:00

34 lines
991 B
Markdown

---
title: "pageBlockMap"
description: "A map"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: pageBlockMap
[Back to constructors index](/API_docs/constructors/index.html)
A map
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|geo|[GeoPoint](/API_docs/types/GeoPoint.html) | Optional|Location of the map center|
|zoom|[int](/API_docs/types/int.html) | Yes|Map zoom level; 13-20|
|w|[int](/API_docs/types/int.html) | Yes|Map width in pixels before applying scale; 16-102|
|h|[int](/API_docs/types/int.html) | Yes|Map height in pixels before applying scale; 16-1024|
|caption|[PageCaption](/API_docs/types/PageCaption.html) | Yes|Caption|
### Type: [PageBlock](/API_docs/types/PageBlock.html)
### Example:
```
$pageBlockMap = ['_' => 'pageBlockMap', 'geo' => GeoPoint, 'zoom' => int, 'w' => int, 'h' => int, 'caption' => PageCaption];
```