Function: locationPreviewLayout() ​
ts
function locationPreviewLayout(location, maxWidth?): object;Defined in: location.ts:238
Fit the captured frame without cropping; keep the sender's tile level and map labels.
Parameters ​
| Parameter | Type | Default value |
|---|---|---|
location | SharedMapLocation | undefined |
maxWidth? | number | DEFAULT_MAP_WIDTH |
Returns ​
object
| Name | Type | Defined in |
|---|---|---|
height | number | location.ts:274 |
marker | object | location.ts:274 |
marker.visible | boolean | location.ts:274 |
marker.x | number | location.ts:274 |
marker.y | number | location.ts:274 |
tiles | object[] | location.ts:274 |
width | number | location.ts:274 |