Layer 220
PageBlockMap
A map
constructor
pageBlockMap#a44f3ef6 geo:GeoPoint zoom:int w:int h:int caption:PageCaption = PageBlock;
Parameters
| Name | Type | Description |
|---|---|---|
| Geo | GeoPoint | Location of the map center |
| Zoom | int | Map zoom level; 13-20 |
| W | int | Map width in pixels before applying scale; 16-102 |
| H | int | Map height in pixels before applying scale; 16-1024 |
| Caption | PageCaption | Caption |
Returns
PageBlockGogram Example
// Creating PageBlockMap constructor obj := &tg.PageBlockMap{ Geo: &tg.GeoPoint{}, Zoom: 0, W: 0, H: 0, Caption: &tg.PageCaption{}, }