i2-wustl / visualization-ui

0 stars 0 forks source link

Free draw a shape on the map #30

Closed DennisGoldfarb closed 4 years ago

DennisGoldfarb commented 4 years ago

This is similar to i2-wustl/covid19-visualization#5 1) The user will click a button on the left side bar to active "draw shape" mode 2) The user will then mousedown on the map to define the start of the shape. 3) The user will mouse drag to draw the outline of the shape 4) The user will mouseup to close the shape and the shape will persist on the map. 5) The user can repeat the process as much as they want to create multiple boxes 6) The user will click the button from 1) to deactivate "draw shape" mode