Aidan275 / nativeqda-dev

NativeQDA
http://dev.nativeqda.xyz/
GNU General Public License v3.0
2 stars 0 forks source link

Links between map markers depicting dependencies #36

Closed Aidan275 closed 6 years ago

Aidan275 commented 6 years ago

Requirement FR_3.1.1_02

The system should display links between map markers depicting dependencies between the files. This link should also describe the dependency, perhaps when the user hovers the cursor over the link.

Lucas-W commented 6 years ago

There's leaflet plugins to manage polylines. You could use that to draw a line between two (Or more?) markers. I'm not really sure what dependencies you'd have... What if they share the same coords? Pie menu?

Also need to change the file model to support dependencies.

Aidan275 commented 6 years ago

Yep, I've added the Leaflet.PolylineDecorator plugin, yet to try it out though.

If I remember correctly, the reason for the dependencies was so they could trace their path through the indigenous people or something.

I was thinking about disabling any files that share coordinates.

So far, I've decided to add a separate collection that stores the dependent and the precedent file id and coordinates. Also a name, description, date created and created by can be stored.

I was thinking if a user clicked a marker the links would become visible.

Still working on the front end for adding links between the files.