This object is in archive! 

Blue Button "choose legend"

Hans Pluhar shared this idea 6 years ago
Declined

Another blue button on the map. Hide/show this button via adjustment/Einstellungen.

Tip blue button opens a list of N links to N .pdf-files, located in an extra folder inside Locus (i.e. foldername=Legend).

Tip a listelement opens the correponding .pdf-file.

Each listelement can be deleted or changed.

The table with the list contains a botton „+“ to add new listelements.

Background: Using different map-types in locus means to need for each maptype its own legend. For example: using 3 different maptypes. User creates one .pdf-legend-file for each maptype, all 3 files stored in folder „Legend“ (i.e.).

Press blue button, press + , add/link file one, add/link file two, add/link file three.

Using map_x: tip blue button, tip listelement „map_x“. open legend-file for map_x.

Replies (6)

photo
1

or a button in the right panel

photo
1

Dear Hans,

thank you for idea. I can understand that themes without legend and I'm agree that we need some system for legends but your proposal is too complicated. It's needed to prepare some unified solution when the legend files would be distributed directly with the theme and the legend would automatically available. I'm sorry but I don't really like idea when user need manually add or define legend file.

I keep idea open and I'll discuss our possibilities with the main developer on the next meeting.

Best regards

Petr

photo
2

hey,

I would also love to have a map legend right in the app! Either via a (not yet existing) standard way of delivering the legend file with the themes or maybe by this proposed method:?


Wouldn't it be possible to auto-generate a map legend within Locus? Locus could use a very basic internal .map-file with e.g. different parallel highways, wood areas etc. and render the legend using the currently selected theme (and style) into a "picture", which then could be displayed as the legend.

This would be a very flexible solution, because it would work with every (even not yet existing) theme out there!


BUT! There are different .map formats out there with different osm features included/not included in different ways (LoMaps, OAM, OAM-ML, Freizeitkarte). So Locus would need to have one legend .map file for every (major) map format (and the need to sync them with further development of these map formats). But I assume map formats do not change as often as themes, do they? Or maybe map producers could provide a "legend .map file" appropriate to their maps instead of theme developers providing a legend with their themes?


What do you think of this idea in principle? Would it be technically possible?

photo
1

Hi,

thank you for comment. The auto-generate legend would be the best solution and we already thought about it. But it has several complications: the style of elements depends on the zoom level (can be even hidden), there are some auto-scale mechanism that resize the elements, the size is also influenced by the device resolution, the rendering of text itself isn't ideal. All these points complicate it and would be quite tricky to prepare some symmetric table in map and guarantee the correct visibility of the elements. However there is some potential but it has mentioned limits..

photo
1

Hi,

yeah, you are right, I suppose it is quite difficult to implement this. However, do you think it is worth it to create a separate idea in helpdesk, or are you aware of an existing one?

photo
1

Hi,

do not create new topic. We know that some solution is needed and it isn't needed to create separate idea for it. P.

photo
1

La legenda è importante almeno x i tracciati. Basta anche una finestra che uno entra e capisce i simboli/tratteggia che usate. Grazie

photo
1

The aim is to include the function in LM4 in the map content panel.

I now have 2 emergency solutions:

1. Run Task in the sidebar. Then create a task in Tasker to open a file. Several can also be created.

2. With favorites, just copy the URL of the website. At OAM, I clicked the link to the legend for a long time and then copied it. The rest see instructions: https://docs.locusmap.eu/doku.php?id=manual:user_guide:functions:quick_bookmark

Then in the sidebar. But only goes online

photo
2

Hello guys,

thanks for "re-opening" this topic.

Currently, there is quite an active discussion on our forum related to map themes & how to deal with it.

Anyway, freischneider found another two similar topics here on the help desk, so I'm closing this one and if interested, give a vote to this one please. I'll try to focus on it next week(s) and bring at least some basic manual option on how to deal with map legends.

Thanks for understanding,

Jiří M. aka Menion

Replies have been locked on this page!