Repository navigation
Conversation
|
You're merging too quickly imho. 🥲 This is a good attempt, but it's also just a workaround. Think about it: If someone is using |
Reading the documentation of the library, it is clear what to expect:
This is how this selector and readLabels works by default, i.e. with named map elements. |
|
If |
|
Only the label layer with the That's why I mentioned that the improvement is not about changing the default public behavior of a library selector. |
|
We should not forget that Mapsforge is used by many applications. 🙂 |
|
But When the new separate label layer was introduced a long time ago, the label definition was basically quietly changed, this should never have happened that way. Let's recall one comment from that time, that best defines a "new" label:
This just needs to be placed on a solid foundation within the library.
Without label layer we have nothing to talk about, but are you sure about the second part? What is a "default label layer"? |
|
Let's not confuse the "label" word:
What will happen with users / apps that want to get just named elements, If the label layer with |
Why? It correctly uses the
It's a public method working according to its documentation. It may be used by apps. e.g. ReverseGeocodeViewer sample Let's add a new selector (working with elements with tags) and use it in |
|
Okay. So basically we have two separate concepts sharing the same word. This is then also something that should be improved within the code/javadoc, if we really want to leave the exact same word for both. Maybe it would be better to use some other word not used elsewhere? Mark, stamp, flag, token, sign, extract, ...? |
|
If there is need, let's improve documentation. |
|
Sounds good. |
Just a few questions, what elements are expected to have tags? What are tags used for? |
There is no new label definition. A new selector maybe, that could do different things. The only use of readLabels inside the repository is in ReverseGeocodeViewer sample where its doc mentions: |
|
About your question, the only problem exists in the Don't all elements have tags? Otherwise how we could use them in themes. |
Just to be clear, these are our ad-hoc definitions used to distinguish two separate concepts that share the same word as mentioned above:
|
You cannot possibly know that. Anyone using the public
Really don't know. It appears not, because the previous workaround we shared in PR (the |
Fix #1631 via
MapDataStore.wayAsLabelTagFilterhook.