Mini Program uses Tencent Map. Which one should I use to get the geographical location?

problem description

Mini Program uses Tencent Map. Which one should I use to get the geographical location?

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?


which api is used to get the location

Apr.01,2021

wx.getLocation();

document:
https://developers.weixin.qq.

remember to deal with permission issues.


wx.getlocation()
Menu