Skip to content

Commit 7a92035

Browse files
committed
more stable vt specs
1 parent 7b87899 commit 7a92035

File tree

5 files changed

+7790
-6241
lines changed

5 files changed

+7790
-6241
lines changed
-387 Bytes
Loading

packages/vt/test/integration/vector-fixtures/line/line-marker/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
const maptalks = require('maptalks');
2-
const path = require('path');
32

43
const line = new maptalks.LineString([[0, 0], [1, 0]], {
54
symbol: {
6-
markerFile: 'file://' + path.resolve(__dirname, '../../../resources/plane-min.png'),
5+
markerType: 'ellipse',
76
markerVerticalAlignment: 'middle',
87
markerWidth: 30,
98
markerHeight: 30,
@@ -16,7 +15,7 @@ const line = new maptalks.LineString([[0, 0], [1, 0]], {
1615

1716
module.exports = {
1817
data: [line],
19-
renderingCount: 2,
18+
renderingCount: 1,
2019
view: {
2120
center: [0, 0],
2221
zoom: 6
-492 Bytes
Loading

packages/vt/test/integration/vector-fixtures/polygon/polygon-marker/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
const maptalks = require('maptalks');
2-
const path = require('path');
32

43
const polygon = new maptalks.Polygon([
54
[0, 0], [1, 0], [1, 1], [0, 1], [0, 0]
65
], {
76
symbol: {
8-
markerFile: 'file://' + path.resolve(__dirname, '../../../resources/plane-min.png'),
7+
markerType: 'ellipse',
98
markerVerticalAlignment: 'middle',
109
markerWidth: 30,
1110
markerHeight: 30,
@@ -17,7 +16,7 @@ const polygon = new maptalks.Polygon([
1716

1817
module.exports = {
1918
data: [polygon],
20-
renderingCount: 2,
19+
renderingCount: 1,
2120
view: {
2221
center: [0, 0],
2322
zoom: 6

0 commit comments

Comments
 (0)