## Vietmap
###

### methods
#### setApiKey(apiKey)

##### arguments
| Name | Type | Required | Description  |
| ---- | :--: | :------: | :----------: |
| `apiKey` | `String` | `Yes` | Provide null value like this code: `Vietmap.setApiKey(null)` |

##### Description
sets the apiKey, which is not required when using Vietmap tiles

#### addCustomHeader(headerName, headerValue)

##### arguments
| Name | Type | Required | Description  |
| ---- | :--: | :------: | :----------: |
| `headerName` | `String` | `Yes` | name for customHeader |
| `headerValue` | `String` | `Yes` | value for customHeader |

##### Description
also see [CustomHttpHeaders](/docs/CustomHttpHeaders.md)


#### removeCustomHeader(headerName)

##### arguments
| Name | Type | Required | Description  |
| ---- | :--: | :------: | :----------: |
| `headerName` | `String` | `Yes` | name of customHeader to be removed |

##### Description
also see [CustomHttpHeaders](/docs/CustomHttpHeaders.md)


### Android only
#### requestAndroidLocationPermissions()
##### Description
Opens Android Location Permission prompt.
Returns a Promise which resolves into a boolean.
Either permission was granted or denied.


#### setConnected(connected)
##### arguments
| Name | Type | Required | Description  |
| ---- | :--: | :------: | :----------: |
| `connected` | `Boolean` | `Yes` | whether or not the SDK should assume it is online |

#### Description
If you want to fully block map tile requests over the network, such as for a low-data / offline application.
