mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
991 B
991 B
title | description | nav_exclude | image |
---|---|---|---|
pageBlockMap | A map | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pageBlockMap
A map
Attributes:
Name | Type | Required | Description |
---|---|---|---|
geo | GeoPoint | Optional | Location of the map center |
zoom | int | Yes | Map zoom level; 13-20 |
w | int | Yes | Map width in pixels before applying scale; 16-102 |
h | int | Yes | Map height in pixels before applying scale; 16-1024 |
caption | PageCaption | Yes | Caption |
Type: PageBlock
Example:
$pageBlockMap = ['_' => 'pageBlockMap', 'geo' => GeoPoint, 'zoom' => int, 'w' => int, 'h' => int, 'caption' => PageCaption];