-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
activeicon should always be on top #236
Comments
@Rudloff is this still an issue with the latest version? And if so, can you create a demonstration of the issue on https://sandbox.semantic-mediawiki.org/ ? |
Here is an example: https://sandbox.semantic-mediawiki.org/wiki/Issue/M/236 There are two icons with the same coordinates (Activeicon Test and Issue/M/236, both near Berlin). Expected resultActual result |
I just found out there is an activeicon parameter part of the map result format :) Lets make sure I understand this correctly. So the query puts two markers on the same place, both using the default (red) marker icon. Then the visitedicon parameter changes the icon of any marker you click. When you click on the overlapping markers, the bottom (hidden) one is activated, shows its popup and changes its icon. Instead this should happen for the top one. Correct? |
Right ok. What I guessed was going on is not happening, at least not when using display_map. The icon you see is the one you interact with. https://www.semantic-mediawiki.org/wiki/User:Jeroen_De_Dauw/issue_236 Markers that get added later are added on top of the ones already added, so yes, the sort order will affect this. However it should be possible to have the |
Reposted by @Rudloff at SemanticMediaWiki/SemanticMaps#88:
The text was updated successfully, but these errors were encountered: