use AMap.Geolocation, in Wechat"s official account to get the current location, using the following code:
introduce AMap: into main.js
Vue.use(AMap);
AMap.initAMapApiLoader({
key: "5f31da4f750b6ff80992efaef75acd9c",
plugin: ["AMap.Geolocation"]
});
refer to the location plug-in on a specific page:
apiGeolocation:
ide/services/geolocation" rel="nofollow noreferrer">https://lbs.amap.com/api/java...
how do you set the configuration information for Geolocation in the above code?
ask for advice, thank you