PEKennedy / cityquery

0 stars 0 forks source link

Selection of Objects by clicking on them #20

Closed PEKennedy closed 1 year ago

PEKennedy commented 1 year ago

As a user, I want to be able to select objects by clicking on them.

Implementation-wise, there are two likely ways this will be done: a) HTML onclick property on an object's JSX. b) raycasting from the mouse in 3js

RyanD871 commented 1 year ago

QA Requirements: clicking on an object in the visualization window applies a selected style to the object and adds it to the list of selected objects

RyanD871 commented 1 year ago

Selecting objects works and highlights the selected object as expected. The app is currently only capable of selecting one object per uploaded file, but for the purpose of this issue, QA passed. Another issue can be made for selecting multiple objects.