SemanticComputing / sampo-ui

Sampo-UI – A framework for building user interfaces for semantic portals
https://seco.cs.aalto.fi/tools/sampo-ui
MIT License
33 stars 7 forks source link

Map tab on instance pages #39

Open henrikaskj opened 2 years ago

henrikaskj commented 2 years ago

It doesn't seem to be possible to add a map tab to the instance pages. If I missed something, and this feature already exists, I think it should be added to one of the example perspectives.

annasahola commented 2 years ago

Are you looking to add a leaflet map (LeafletMap component) or a heatmap/arc map (Deck component) to the tab? A leaflet map can be added to instance pages by defining the page type to be an instance page in the tab configuration. An example of this kind of tab can be seen here on FindSampo and the code snippet for that tab configuration here.

henrikaskj commented 2 years ago

Yes, I was thinking of a leaflet map. Thank you!