Resolve conflicts
This commit is contained in:
@@ -1968,14 +1968,14 @@ describe('ol.interaction.Draw', function () {
|
||||
}
|
||||
|
||||
function drawPoint(geometryLayout) {
|
||||
createDrawInteraction(GeometryType.POINT, geometryLayout);
|
||||
createDrawInteraction('Point', geometryLayout);
|
||||
simulateEvent('pointermove', 10, 20);
|
||||
simulateEvent('pointerdown', 10, 20);
|
||||
simulateEvent('pointerup', 10, 20);
|
||||
}
|
||||
|
||||
function drawLineString(geometryLayout) {
|
||||
createDrawInteraction(GeometryType.LINE_STRING, geometryLayout);
|
||||
createDrawInteraction('LineString', geometryLayout);
|
||||
// first point
|
||||
simulateEvent('pointermove', 10, 20);
|
||||
simulateEvent('pointerdown', 10, 20);
|
||||
@@ -1992,7 +1992,7 @@ describe('ol.interaction.Draw', function () {
|
||||
}
|
||||
|
||||
function drawPolygon(geometryLayout) {
|
||||
createDrawInteraction(GeometryType.POLYGON, geometryLayout);
|
||||
createDrawInteraction('Polygon', geometryLayout);
|
||||
// first point
|
||||
simulateEvent('pointermove', 10, 20);
|
||||
simulateEvent('pointerdown', 10, 20);
|
||||
@@ -2014,7 +2014,7 @@ describe('ol.interaction.Draw', function () {
|
||||
}
|
||||
|
||||
function drawCircle(geometryLayout) {
|
||||
createDrawInteraction(GeometryType.CIRCLE, geometryLayout);
|
||||
createDrawInteraction('Circle', geometryLayout);
|
||||
// first point
|
||||
simulateEvent('pointermove', 10, 20);
|
||||
simulateEvent('pointerdown', 10, 20);
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import GeometryType from '../../../../src/ol/geom/GeometryType.js';
|
||||
import RenderFeature, {
|
||||
toFeature,
|
||||
toGeometry,
|
||||
@@ -141,7 +140,7 @@ describe('ol/render/Feature', function () {
|
||||
],
|
||||
]);
|
||||
const renderFeature = new RenderFeature(
|
||||
GeometryType.POLYGON,
|
||||
'Polygon',
|
||||
geometry.getFlatCoordinates().slice(),
|
||||
geometry.getEndss().flat(1)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user