bmGeolocation

获取定位(坐标系:gcj02)

引用方式

var geolocation = weex.requireModule('bmGeolocation')

API

  • 接口:getGeolocation(callback)
geolocation.getGeolocation(function(resDate){
        // resDate
        // {   
        //      locationLat: '',    纬度
        //      locationLng: ''        经度
        // }
})

results matching ""

    No results matching ""