Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

maptalks.e4

A plugin for echarts 4.0

usage

//new map
var map = new maptalks.Map("map", {
  center: [104.114129, 37.550339],
  zoom: 3,
  attributionControl: {
    'content': '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, &copy; <a href="https://carto.com/attributions">CARTO</a>'
  }
});
//new e4layer
var e4Layer = new maptalks.E4Layer('e4', ecOption, { hideOnZooming: false, hideOnRotating: false, hideOnMoving: false }).addTo(map);

2rr56x ti 7 8 h r_x

adding addintlayer options in e4layer to replace echart-gl's default tile map layer

var addintiallayer = new maptalks.TileLayer('base', {
  'urlTemplate': 'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png',
  'subdomains': ['a', 'b', 'c', 'd']
});
//set addintiallayer parameter
var e4Layer = new maptalks.E4Layer('e4', ecOption, { hideOnZooming: false, hideOnRotating: false, hideOnMoving: false },addintiallayer).addTo(map);

opflbx7j_py l u9hn _uf

About

A plugin for echarts 4.0

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.