• Stars
    star
    170
  • Rank 223,357 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 9 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A plugin for ArcGIS JS API to load echarts map and Make big data visualization easier.

arcgis-echarts

A plugin for ArcGIS JS API to load echarts map and Make big data visualization easier.

基于ArcGIS Javascript API 扩展 Echarts,使Echarts的地图可以加到ArcGIS Javascript API的地图上

鉴于之前写了一个leaflet加载echarts的扩展传送门,由此萌生了结合ArcGIS Javascript Api和echarts来制作炫酷的可视化地图,没想到整个实现的过程相当顺利,花费了一个多小时写出来这个扩展,加载效果也还不错。强烈建议大家使用谷歌浏览器来查看示例,我试了几个浏览器,**只有在谷歌浏览器才能得到最好的效果展现,只有在谷歌浏览器才能得到最好的效果展现,只有在谷歌浏览器才能得到最好的效果展现!!!**重要的事情说三遍。

Just visit it by chrome!!!

在线访问(Demo)

使用方法(Usage)

  1. Confirm you have import ArcGIS Javascript API and Css first, 引入ArcGIS的JS Api和css库自然不用说

  2. Add this code before ArcGIS Javascript API to config the plugin.在引入Arcgis JS api之前添加下面的代码,根据自己项目的路径修改下面的namelocation

    var dojoConfig = {
        parseOnLoad: true,
        packages: [{
          "name": "src",
          "location": location.pathname.replace(/\/[^/]+$/, '') + "../src"
        }]
      };
    
  3. As you can use this plugin like this,按照下面的方法使用

    var map=new Map("map",{});
    var overlay = new EchartsLayer(map, echarts);
    var chartsContainer=overlay.getEchartsContainer();
    var myChart=overlay.initECharts(chartsContainer);
    map.on('load',function(){
    	var option={};//这里跟百度echarts的map的option一样,the option is same as echarts map
    	overlay.setOption(option);
    	});
    })
    
  4. If you don't konw how to use this plugin,hava a look at /src/index.html,如果你不会用,看看demo目录下的index.html

截图示例(snapshot)

群友@Jason_苏州提供的两个使用demo

More Repositories

1

coordtransform

提供了百度坐标(BD09)、国测局坐标(火星坐标,GCJ02)、和WGS84坐标系之间的转换
JavaScript
4,319
star
2

coordTransform_py

提供百度坐标系(bd-09)、火星坐标系(国测局坐标系、gcj02)、WGS84坐标系直接的坐标互转,也提供了解析高德地址的方法的python版本
Python
1,057
star
3

hospital-viz

根据网络来源的数据地理可视化,在线查看
500
star
4

leaflet-echarts3

A plugin for leaflet to load echarts3 map and Make big data visualization easier.
JavaScript
452
star
5

arcgis-echarts3

A plugin for ArcGIS JS API to load echarts3 map and Make big data visualization easier.
JavaScript
358
star
6

leaflet-echarts

A plugin for leaflet to load echarts map and Make big data visualization easier.
JavaScript
219
star
7

coordtransform-cli

A CLI version for [coordtransform](https://github.com/wandergis/coordtransform) module that can transform geojson file.
JavaScript
70
star
8

avalon-webpack-spa

一个集成了avalon mmstate oniui jquery webpack gulp的工程化项目
JavaScript
59
star
9

ArcGIS-GaodeLayer

ESRI的ArcGIS JavaScript API加载高德在线地图的扩展
JavaScript
30
star
10

ArcGIS-PortalDemo

一个ArcGIS JS api开发的demo
HTML
7
star
11

leaflet-plot

A library for leaflet to polt on the map.
JavaScript
7
star
12

d3-svg-samples

精通d3.js交互式数据可视化高级编程学习记录
HTML
7
star
13

Javascript-design-pattern-study

作为学习Javascript设计模式的一个笔记吧
6
star
14

vue-spa-study

学习Vue vue-router webpack gulp的demo项目,集成了zepto和purecss
JavaScript
5
star
15

leaflet-canvas-test

A sample to test leaflet canvaslayer.
5
star
16

postgis-ppt

postgis学习备忘
4
star
17

angular-lazyload-with-webpack-and-uirouter

angular lazyload with webpack and ui-router
CSS
4
star
18

turf-clip

Clip one featurecollection by another.
JavaScript
3
star
19

vector-tiles

study how to make vector tiles
JavaScript
3
star
20

multipage-workflow-with-webpack

多页面下的webpack开发工作流
JavaScript
2
star
21

leaflet-roadbook

Lets geojsonLayer animate on the layer.
JavaScript
2
star
22

react-spa-study

A study Demo for React
JavaScript
2
star
23

DataGrip-GeoJSON-extractor

A extractor for DataGrip to export geojson file by sql query directly.
Groovy
2
star
24

node-canvas-sample

使用node-canvas渲染地图
JavaScript
2
star
25

three-sample

just for study webgl
HTML
1
star
26

fbx2gltf-plus

A fbx to gltf transform tool with transparent support.
1
star
27

studynotes

学习过程中一些记录
1
star