editor.js: there's no polyline, there is only linestring
This commit is contained in:
parent
1eea04389e
commit
38b4127fce
1 changed files with 1 additions and 1 deletions
|
@ -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') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue