APP可以获取定位,但H5报错,这是不是需要设置https访问,在哪儿设置呢?
![h***@163.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/f4533f9cd0acd8dc6ed93509d8856fc6.png)
h***@163.com
- 发布:2023-03-23 12:30
- 更新:2023-03-23 13:53
- 阅读:336
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20230323/0591d2b879ca6e67ca910c6f2ce658c4.png)
![](http://img-cdn-tc.dcloud.net.cn/uploads/questions/20230323/f567aa7f81c4fd11b7452e8a07cbaaef.png)
![7***@qq.com](https://img-cdn-tc.dcloud.net.cn/account/identicon/a96e63697bda822184cccc26d2c0e87d.png)
7***@qq.com - 12112
h5定位要再高德地图创建项目 然后在manifest.json中加入高德生成的key
h5定位需要https 或者本地localhost访问也可以定位 https需要后台配置ssl安全证书