Skip to content

InputRichBlockMap

A block with a map, corresponding to the custom HTML tag <tg-map>. The map's width and height must not exceed 10000 in total. The width and height ratio must be at most 20.

Fields

typeString = mapRequired
Type of the block, always "map"
locationLocationRequired
Location of the center of the map
zoomIntegerOptional
Optional. Map zoom level; 0-24
widthIntegerOptional
Optional. Map width; 0-10000
heightIntegerOptional
Optional. Map height; 0-10000
captionRichBlockCaptionOptional
Optional. Caption of the block

GramIO Usage

See Also