|
[superwebview]
amap已经引用了,但是使用的时候还是提示模块未绑定啊
[复制链接]
compile files('libs/AMap_3DMap_V3.3.2_20160525.jar')
compile files('libs/AMap_Location_V2.4.1_H5.jar')
compile files('libs/AMap_Search_V3.2.1_20160308.jar')
compile files('libs/Hanvon_SDK_Android_1.0.jar')
我这是样引用相关模块的。前台调用的代码如下,但是提示我模块未绑定啊。之前已经成功的引用了listview,之样的模块了。var aMap = api.require('aMap');aMap.open({ rect: { x: 0, y: 0, w: 320, h: 300 }, showUserLocation: true, zoomLevel: 11, center: { lon: 116.4021310000, lat: 39.9994480000 }, fixedOn: api.frameName, fixed: true}, function(ret, err) { if (ret.status) { alert(JSON.stringify(ret)); } else { alert(JSON.stringify(err)); }});
|
|