• So after converting leaflet-markers to leaflet-geojson

    I noticed a issue with some tooltips that are very large, do not stay active when you click on them. If I click, it moves the map, loads up the tooltip, then tooltip disappears.

    https://i.imgur.com/ozGgMIQ.gif

    If I have this in the previous format using a leaflet-marker – the Tooltip will stay up until you click somewhere else.

    I assumed there is some setting or option to prevent this from happening???

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author hupe13

    (@hupe13)

    hover has an option geojsontooltip, use the same syntax as in popups.

    Thread Starter Wizard

    (@badmp3)

    Hover over works, its the popup that seems to be acting weird

    here is another gif video https://i.imgur.com/K5d8dY5.gif

    changing hover options doesnt do anything here

    Plugin Author hupe13

    (@hupe13)

    Do you have an URL to a test page?

    Thread Starter Wizard

    (@badmp3)

    Use this > https://gamingwithdaopa.ellatha.com/soulmask/map/

    The pop for “The Small Dungeon” or the icons that are like a whirlpool all have big tooltips

    Plugin Author hupe13

    (@hupe13)

    Load all geojson files as before:

    [leaflet-geojson src=... ]{name} ....{description} any image text etc[/leaflet-geojson]

    The hover shortcode should be for example:

    [hover geojsontooltip="{name}"]

    So if you hover over a marker only the name appears. The popup shows all.

    • This reply was modified 3 months, 3 weeks ago by hupe13.
    • This reply was modified 3 months, 3 weeks ago by hupe13.
    Thread Starter Wizard

    (@badmp3)

    The Hover is not the problem Hover works correctly

    The Popup on large text doesnt work right anymore via the geojson method, its doing some weird map warping as it tries to fit it on screen, but if the screen isnt big enough, its doesnt display it at all.

    Before it wasnt doing that, it would show the Popup, and the popup will stay up until you click somewhere else on the map

    Plugin Author hupe13

    (@hupe13)

    Either you make the popups smaller (fontsize for example) or the map larger. Or you use “Marker popup outside the map“.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.