创建 TencentLocationManager 实例,非单例,每次调用都会生成一个新的实例。
如果未同意隐私政策则返回 undefined。
TencentLocationManager 实例,或者 undefined。
const locationManager = TencentLocationManager.createInstance()if (locationManager) { // 使用 locationManager 进行定位操作} Copy
const locationManager = TencentLocationManager.createInstance()if (locationManager) { // 使用 locationManager 进行定位操作}
1.0.9
创建 TencentLocationManager 实例,非单例,每次调用都会生成一个新的实例。
如果未同意隐私政策则返回 undefined。