Skip to content

Commit

Permalink
新增地图漫游组件roamController support #321 #534
Browse files Browse the repository at this point in the history
  • Loading branch information
kener committed Sep 2, 2014
1 parent cc0e34a commit 3612e5a
Show file tree
Hide file tree
Showing 5 changed files with 572 additions and 110 deletions.
11 changes: 9 additions & 2 deletions doc/example/map1.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
calculable : true
},
toolbox: {
show : true,
show: true,
orient : 'vertical',
x: 'right',
y: 'center',
Expand All @@ -78,12 +78,19 @@
saveAsImage : {show: true}
}
},
roamController: {
show: true,
x: 'right',
mapTypeControl: {
'china': true
}
},
series : [
{
name: 'iphone3',
type: 'map',
mapType: 'china',
roam: true,
roam: false,
itemStyle:{
normal:{label:{show:true}},
emphasis:{label:{show:true}}
Expand Down
Loading

0 comments on commit 3612e5a

Please sign in to comment.