-
Notifications
You must be signed in to change notification settings - Fork 2
maybe any plugin or is there any js selector to use? #73
Comments
That is certainly possible. |
ok, no problem ;) but how would i be able to open the marker with my own javascript? to open a leaflet-popup, i would need https://leafletjs.com/reference-1.7.1.html#map-openpopup but how would i now be able to open a specific popup? like: do you know what i mean? ;) |
I don't understand exactly what you mean. Can you maybe describe it with a link to a page. If I can look at it practically, I usually understand better what is meant. |
Thanks. Now I understand what you mean. Is it very important to you that the pop-up is opened via the menu, or would it also be an option if a list was displayed below the map? If you click on the list entry, the pop-up opens. For example, like this: |
In https://github.com/astridx/pkg_agosms/releases/tag/v3.0.1 I added a It looks like this: If you do not like to use the
Here the class name is Note: At the moment I only look for the fist class. So, if you have more elements with the same classname Note: I decided in favour of |
You have seen that besides the
You can style the list by using the classes in your customs css.
You're right. Thank you. The Please let me know if this is ok for you. |
awesome, that works :) - thank you
would it be possible to add an offset? |
Hi :) will it be possible to add such an offset? :) |
is there a link to the website so that you can look to understand it better? |
https://www.feuerwehr-bamberg.de/das-sind-wir/feuerwehr on mobile devices - its better to see what i mean ;) but now i have a new "idea" - would it be possible to detect whether it is necessary to scroll down to the map, specially on desktop devices? because most time it won't be neccessary to scroll down or up to the map except on mobile devices. |
Will it work for you if you add the following code to user.css? Then, however, the map will always be displayed with a margin at the top.
|
hey :)
might it be possible to create a little plugin for agosm to add on-hover events for a menu?
idea: if you hover on the menu "löschgruppe 1" the popup of the marker for "löschgruppe 1" should be visible.
same if you then hover on "löschgruppe 2" the popp of löschgruppe 1 closes and löschgruppe 2 opens.
if there won't be any plugin, how am i able to select these markers seperatly with an jquery-hover event?
for example (a little stupid and not perfectly/working script):
i hope you understood what i meant :D ;)
The text was updated successfully, but these errors were encountered: