-
错误信息:
error - ./node_modules/@uiw/react-baidu-map/lib/esm/Marker/markers.png 1:0
Module parse failed: Unexpected character '�' (1:0)
You may need an appropriate loader to handle this file type, cur…
-
由于 `CurveLine & DrawingManager` 依赖 `BMap`,而我的对话框时 `show` 出来后再才会执行下面的代码,这里有两个问题出现
问题1:`CurveLine & DrawingManager`依赖的`BMap`,没有加载,所以导致`BMap undefined`,我的解决方法,如下
![image](https://user-images.githubu…
-
### One-line summary [问题简述]
在使用map和lines完成数据迁移功能时,lines中的data[i].coords熟悉出现Cannot read property 'dataToPoint' of undefined"的报错
### Version & Environment [版本及环境]
+ ECharts version [ECharts 版本]…
-
条件渲染,之前的折线不会清除。
(https://codesandbox.io/s/elated-rgb-ubw0o)
-
```ts
export interface MarkerProps extends OverlayProps, BMap.MarkerOptions
```
-
{
"name": "ant-design-pro",
"version": "4.2.2",
"private": true,
"description": "An out-of-box UI solution for enterprise applications",
"scripts": {
"analyze": "cross-env ANALYZE=…
-
BMap is not defined
-
import { useRef, useEffect, useState } from 'react'
import { Map, APILoader, useMap } from '@uiw/react-baidu-map'
import React from 'react'
const Example = () => {
const divElm = useRef()
…
-
code:
```
Geolocation.reverseGeoCode(39.910976, 116.413369).then(res => {
console.log(res);
});
```
result:
```
{"errcode": -1}
```
zhaoo updated
3 years ago
-
人在上海,打开echart官方案例 https://echarts.baidu.com/examples/editor.html?c=map-polygon,出现白块或者白线,晃动地图后会变好。
![image](https://user-images.githubusercontent.com/37685122/51890165-5a82b600-23d6-11e9-9806-62c06176…