Comments (2)
我引入了
this.echartslayer = new ol3Echarts(null, {
hideOnMoving: true,
hideOnZooming: true
});
this.echartslayer.appendTo(this.map);
this.Ajax.get("../static/map_polygon.json").then(msg => {
echarts.registerMap("MLP", msg.data);
var option = {
series: [
{
type: "map",
map: "MLP"
}
]
};
this.echartslayer.setChartOptions(option);
});
这样子简单的加载地图。就是不显示。
from ol3echarts.
@mrerhuo 暂时无法支持map类型的图表,可以直接使用数据加载到ol的VectorLayer上,参考一下这个:https://github.com/sakitam-fdd/ol3Echarts/blob/master/website/static/examples/map/city.html
from ol3echarts.
Related Issues (20)
- echarts导入问题 HOT 2
- 在EchartsLayer上叠加openlayer图层是否可行 HOT 1
- coordinateSystem的问题
- lines飞线投影 HOT 1
- ECharts 5 support
- 大佬,文档是看不了吗,怎么没有参数和api介绍呢 HOT 1
- 请教~ new EChartsLayer 报错怎么回事 HOT 8
- appendTo方法报错 HOT 1
- ol-echarts V4.0.0添加GEO坐标系后,拖动全球地图后,坐标点散点消失 HOT 1
- ol8+ol-echarts4无法显示热力图,有大佬帮忙看下么🤗 HOT 1
- bug - map 销毁问题 HOT 1
- 使用北京地方坐标系,画lines图(航线图),看不见 HOT 1
- 有没有可能把L7封装到ol里面呢? HOT 1
- 似乎不支持 series.map 类型? HOT 1
- 拖动地图后数据没有完全加载 HOT 1
- mapBrowserPointerEvent HOT 1
- Cannot set property 'disposed' of null HOT 2
- Uncaught TypeError: EChartsLayer__default.default is not a constructor HOT 2
- Cannot read properties of undefined (reading 'transform') MapDraw.draw (MapDraw.js:210:32) HOT 5
- echarts geo maps are not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ol3echarts.