ling-js / skylax

Skylax Client
MIT License
4 stars 0 forks source link

Show Metadata with onclick #49

Closed SpeckiJ closed 6 years ago

SpeckiJ commented 6 years ago

Users get further Information and metadata of images when they select an image [...] in the map (LF00060)

This needs to be implemented. Currently there is only a small popup showing the Dataset Name. This needs to be expanded to automatically open the associated accordion in the sidebar and scroll to it.

Effizjens commented 6 years ago

There is already a openAccordion() function in Load.js. The metadata accordion will popout, when clicked on the polygon.

Effizjens commented 6 years ago

I don't know, how you can set the scroll level of the sidebar...

Effizjens commented 6 years ago

https://github.com/ling-js/skylax/commit/c4cf4989d8c6e0af2f6524af30fe5559b897a6f5 Found a way

SpeckiJ commented 6 years ago

thanks for the implementation @Effizjens