Parameters
| Property | Type | Required | Description |
|---|---|---|---|
| mapId | String | Yes | Map component ID |
Return Value
Returns a MapContext object with control methods.MapContext Methods
| Method | Description |
|---|---|
| getCenterLocation() | Get map center coordinates |
| moveToLocation() | Move to current location |
| includePoints() | Adjust view to include points |
| getRegion() | Get visible region |
| getScale() | Get current zoom level |