MCPcopy Create free account
hub / github.com/bailicangdu/node-elm / constructor

Method constructor

prototype/addressComponent.js:9–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7 */
8class AddressComponent extends BaseComponent {
9 constructor(){
10 super();
11 this.tencentkey = 'RLHBZ-WMPRP-Q3JDS-V2IQA-JNRFH-EJBHL';
12 this.tencentkey2 = 'RRXBZ-WC6KF-ZQSJT-N2QU7-T5QIT-6KF5X';
13 this.tencentkey3 = 'OHTBZ-7IFRG-JG2QF-IHFUK-XTTK6-VXFBN';
14 this.tencentkey4 = 'Z2BBZ-QBSKJ-DFUFG-FDGT3-4JRYV-JKF5O';
15 this.baidukey = 'fjke3YUipM9N64GdOIh1DNeK2APO2WcT';
16 // this.baidukey2 = 'fjke3YUipM9N64GdOIh1DNeK2APO2WcT';
17 }
18 //获取定位地址
19 async guessPosition(req){
20 return new Promise(async (resolve, reject) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected