-
import BaiduMap from 'vue-baidu-map'
const app = createApp(App)
app.use(BaiduMap, {
// ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
ak: import.meta.env.VITE_GLOB_AK
})…
-
# 部署到 Gitee
## Q?
### 引用资源
- 部署到 gitee 的路径问题,要使用 `/repo_name/path/` 路径 来访问资源
### json 加载
- json加载问题,不清楚为什么不能加载 `*.geojson` 文件
- **workaround :** [html 引入 json文件](https://jingyan.baidu.co…
-
引入了cordova-plugin-baidumaplocation/www/baidumap_location.js 直接使用 baidumap_location.getCurrentPosition(),提示baidumap_location 未定义,用的3.2.0、3.0.2、3.0.1都是一样的结果,不知道什么原因,不知道作者有啥可以指导的么?谢谢!
-
版本:"react-native-baidumap-sdk": "^0.6.1-2",
日志:
e: G:\xxxxxx\node_modules\react-native-baidumap-sdk\lib\android\src\main\java\
cn\xxxxxx\react\baidumap\Utils.kt: (52, 56): Only safe (?.) o…
-
after GPUImageContext share instance created, and GPUImageView dealloc, open baidu map and invoke its api -viewWillAppear: and -viewWillDisappera:. then open GPUImageView, there must be black scree…
-
Hi. Thanks for your work creating this package.
But when I install it in my Rstudio, I get this problem:
> install.packages('baidumap')
Warning in install.packages :
package ‘baidumap’ is not …
-
error: bundling failed: Error: While trying to resolve module `react-native-baidumap-sdk` from file `/Users/xulipei/Desktop/study/react-native(epxem)/react-native-baidumap-sdk-master/example/index.js`…
-
安装4.X版本后,在typescript代码中调用baidumap_location.getCurrentPosition(success, error),回调函数不执行,调试后发现插件配置信息有问题,plugin.xml中对于BaiduMapLocation.java源文件的目标位置设置有问题,target-dir的值应该为:"src/com/aruistar/cordova/baidumap"…
wypcy updated
5 years ago
-
```
declare var baidumap_location;
....
baidumap_location.getCurrentPosition(function (result) {
alert(JSON.stringify(result, null, 4))
console.log("================")
cons…
-
Pls take a look at the pictures below and help me find the reason why the point moved. Is the zoom of ggmap and ggplot not matched well? or is the zoom of baidumap and api.baidumap.com not matched? Lo…