diff --git a/test/data/svg/flight-seats.svg b/test/data/svg/flight-seats.svg
new file mode 100644
index 0000000000000000000000000000000000000000..7b83f2c59d4735c0277ae3296ba21df7dde71d42
--- /dev/null
+++ b/test/data/svg/flight-seats.svg
@@ -0,0 +1,2997 @@
+
+
+
+
diff --git a/test/geo-layout.html b/test/geo-layout.html
new file mode 100644
index 0000000000000000000000000000000000000000..c79f166eb77b98e979bb36f8860be52518effab7
--- /dev/null
+++ b/test/geo-layout.html
@@ -0,0 +1,346 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/test/geo-svg-demo.html b/test/geo-svg-demo.html
index 04f005fc216df15202d3cea98a1fb86f621d3c4e..49823512cbe85dcea8576f2a4572fa70ca9a1a41 100644
--- a/test/geo-svg-demo.html
+++ b/test/geo-svg-demo.html
@@ -37,11 +37,11 @@ under the License.
-
+
@@ -618,7 +618,6 @@ under the License.
series: [{
name: 'Route',
type: 'lines',
- map: 'MacOdrum-LV5-floorplan-web',
coordinateSystem: 'geo',
geoIndex: 0,
emphasis: {
@@ -629,8 +628,10 @@ under the License.
polyline: true,
lineStyle: {
color: '#c46e54',
- width: 2
+ width: 5,
+ opacity: 1
},
+ zlevel: 1,
effect: {
show: true,
period: 8,
@@ -732,7 +733,6 @@ under the License.
series: [{
name: 'Route',
type: 'lines',
- map: 'MacOdrum-LV5-floorplan-web',
coordinateSystem: 'geo',
geoIndex: 0,
emphasis: {
@@ -758,7 +758,8 @@ under the License.
data: [{
effect: {
color: '#a10000',
- constantSpeed: 100
+ constantSpeed: 100,
+ delay: 0,
},
coords: [
[50.875133928571415, 242.66287667410717],
@@ -804,7 +805,8 @@ under the License.
}, {
effect: {
color: '#00067d',
- constantSpeed: 80
+ constantSpeed: 80,
+ delay: 0,
},
coords: [
[779.4595368303574, 287.98744419642856],
@@ -840,7 +842,8 @@ under the License.
}, {
effect: {
color: '#997405',
- constantSpeed: 60
+ constantSpeed: 60,
+ delay: 0,
},
coords: [
[2.5920703124999704, 450.66908482142856],
diff --git a/test/geo-svg.html b/test/geo-svg.html
index c992fdb0569564fab1a9aece77c66d868593e945..317db41375a4db92a42add44ab2b33ba5f8cc6eb 100644
--- a/test/geo-svg.html
+++ b/test/geo-svg.html
@@ -37,8 +37,6 @@ under the License.
-
-
@@ -89,117 +87,6 @@ under the License.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -641,11 +528,11 @@ under the License.
require(['echarts'/*, 'map/js/china' */], function (echarts) {
var option;
$.ajax({
- url: '../../vis-data/map/svg/seats/seatmap-example.svg',
+ url: 'data/svg/flight-seats.svg',
dataType: 'text'
}).done(function (svg) {
- echarts.registerMap('seatmap', {
+ echarts.registerMap('flight-seats', {
svg: svg
});
@@ -653,15 +540,18 @@ under the License.
tooltip: {
},
geo: {
- map: 'seatmap',
+ map: 'flight-seats',
roam: true,
selectedMode: 'multiple',
tooltip: {
show: true
},
- // height: 100,
- // zoom: 1.5
emphasis: {
+ itemStyle: {
+ color: null,
+ borderColor: '#780705',
+ borderWidth: 3
+ },
label: {
textBorderColor: '#fff',
textBorderWidth: 2
@@ -677,14 +567,7 @@ under the License.
textBorderWidth: 2
}
}
- },
- // series: {
- // type: 'scatter',
- // coordinateSystem: 'geo',
- // // ?????????????????????????
- // geoIndex: 0,
- // data: [[11, 22], [33, 44]]
- // }
+ }
};
var chart = testHelper.create(echarts, 'main_pure_geo_svg', {
@@ -697,8 +580,6 @@ under the License.
info: {},
infoKey: 'event',
height: 300
- // buttons: [{text: 'btn-txt', onclick: function () {}}],
- // recordCanvas: true,
});
listenAndPrintEvent(chart);
@@ -717,7 +598,7 @@ under the License.
require(['echarts'/*, 'map/js/china' */], function (echarts) {
var option;
$.ajax({
- url: '../../vis-data/map/svg/seats/seatmap-example.svg',
+ url: 'data/svg/seatmap-example.svg',
dataType: 'text'
}).done(function (svg) {