editor.js: there's no polyline, there is only linestring

This commit is contained in:
Laura Klünder 2017-08-03 19:28:00 +02:00
parent 1eea04389e
commit 38b4127fce

View file

@ -738,7 +738,7 @@ editor = {
var geomtype = form.attr('data-geomtype');
if (geomtype === 'polygon') {
editor.map.editTools.startPolygon(null, options);
} else if (geomtype === 'polyline') {
} else if (geomtype === 'linestring') {
options = editor._line_draw_geometry_style(options);
editor.map.editTools.startPolyline(null, options);
} else if (geomtype === 'point') {