# danog\MadelineProto\EventHandler\Message\Rich\Block\Map: A map.

[Back to index](../../../../../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

A map.  



## Properties
* `$caption`: `?danog\MadelineProto\EventHandler\Message\Rich\Caption` Caption of the map
* `$latitude`: `float` Latitude of the center of the map
* `$longitude`: `float` Longitude of the center of the map
* `$zoom`: `int` Zoom level of the map, from 0 to 24
* `$width`: `int` Width of the map
* `$height`: `int` Height of the map
* `$horizontalAccuracy`: `?int` Radius of uncertainty of the location, in meters

## Method list:
* [`__construct(float $latitude, float $longitude, int $zoom, int $width, int $height, \danog\MadelineProto\EventHandler\Message\Rich\Caption|\danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null $caption = NULL, ?int $horizontalAccuracy = NULL)`](#__construct)

## Methods:
### <a name="__construct"></a> `__construct(float $latitude, float $longitude, int $zoom, int $width, int $height, \danog\MadelineProto\EventHandler\Message\Rich\Caption|\danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null $caption = NULL, ?int $horizontalAccuracy = NULL)`




Parameters:

* `$latitude`: `float`   
* `$longitude`: `float`   
* `$zoom`: `int`   
* `$width`: `int`   
* `$height`: `int`   
* `$caption`: `\danog\MadelineProto\EventHandler\Message\Rich\Caption|\danog\MadelineProto\EventHandler\Message\Rich\RichText|string|null`   
* `$horizontalAccuracy`: `?int`   


#### See also: 
* [`\danog\MadelineProto\EventHandler\Message\Rich\Caption`: Caption of a media, collage, slideshow or map block of a rich message.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/Caption.html)
* [`\danog\MadelineProto\EventHandler\Message\Rich\RichText`: Styled text of a [rich message](https://core.telegram.org/bots/api#richtext): a tree of plain texts, styles, links and so on.](../../../../../../danog/MadelineProto/EventHandler/Message/Rich/RichText.html)




---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
