Skip to content

Commit

Permalink
Merge pull request origo-map#1689 from origo-map/fix-drawtool
Browse files Browse the repository at this point in the history
fix: drawtool other than default
  • Loading branch information
johnnyblasta authored Feb 13, 2023
2 parents 96c34bf + 8de45ed commit e57a86d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/controls/editor/shapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ export default (drawType) => {
box: {
type: 'Circle',
geometryFunction: createBox()
},
Line: {
type: 'LineString'
},
Polygon: {
type: 'Polygon'
},
Point: {
type: 'Point'
}
};

Expand Down

0 comments on commit e57a86d

Please sign in to comment.