Closed telfDavid closed 6 months ago
@telfDavid that functionality is part of echarts so you can call it as you need in your project.
Please mind that all not-react related code is not part of this lib and must be accessed through "echarts" itself.
import { registerMap } from "echarts"
registerMap(...)
export function App() {
// ...your code
}
You can then access the set the map through the geo
prop in React ECharts.
Hope that helps
I need to use the function
registerMap
in order to set a svg in the echart's GEO/Map charts, but I don't find it anywhere in the docs, is this option possible??what I'm trying to do: https://echarts.apache.org/examples/en/editor.html?c=geo-seatmap-flight&theme=dark