getMapList(params: Object)
Requires:
MapKit≥2.1.0@ray-js/ray≥1.2.10
Platforms:
iOSAndroid
Description
Get available third-party map types
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
complete | () => void | No | Completion callback (executed on both success and failure) |
success | (params: Object) => void | No | Callback on successful API call |
fail | (params: Object) => void | No | Failure callback |
success callback parameters
| Property | Type | Description | MapKit Since |
|---|---|---|---|
maps | string[] | Supported map providers. Currently supported: BMK: Baidu Maps, MA: Amap, TENCENT: Tencent Maps, Google: Google Maps | v3.0.5 |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None