• Resolved Tomek

    (@typ)


    I’ve tried to implement search markers shortcode but it is not shown on the map. How to check if the shortcode is correct?

    [leaflet-search propertyName=”…” …]

    Example: https://leafext.de/leafletsearch/leafletsearchmarker/

    What is this “property name”? Default is “tltle”. What is title of the marker? It is defined in marker shortcode or it is just title of the marker show on the popup? Could you explain it?

    How to put the simpliest one shortcode for search to make the search icon will appear in the top left corner of the map?

    Everything is up to date (new wp, all other plugins turn off)

    • This topic was modified 11 months, 1 week ago by Tomek.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author hupe13

    (@hupe13)

    I just realized there is a bug with propertyname=title and marker=false. I’m sorry. I will fix it.

    The other examples work.

    Plugin Author hupe13

    (@hupe13)

    Works:

    [leaflet-search propertyname=title marker='{}' zoom=15 textPlaceholder='T ....']
    [leaflet-search propertyname=popupContent marker='{}' zoom=15 textPlaceholder='M ....']

    marker=false does not work.

    Plugin Author hupe13

    (@hupe13)

    What is title of the marker? It is defined in marker shortcode or it is just title of the marker show on the popup? Could you explain it?

    title is a leaflet-marker option. You can see the difference between title and popup in the first example here. Hover and click a marker.

    marker=false does not work.

    It works like that until I fix it:

    [leaflet-search propertyname=... marker='{icon:false}' ....]
    Plugin Author hupe13

    (@hupe13)

    Fixed in V 3.5.8. Does it work for you?

    Thread Starter Tomek

    (@typ)

    Now I’m using shortcode [leaflet-search propertyname=popupContent] and only few of 40 markers can be searched.

    I had problem with marker visibility, I had posts with 40 markers, but only 10 was visible on the map. I’ve tried to find the reason but I couldnt. I’ve set [debug=true] and found last visible marker, then I’ve deleted next one (first not visible) and it start working! Now all 40 markers are visible but I cant find most of the using search box. Very strange….

    Plugin Author hupe13

    (@hupe13)

    Do you have an URL to a test page?

    Thread Starter Tomek

    (@typ)

    No, it is private page unfortunately…. I can give you access but only in private message or email.

    Plugin Author hupe13

    (@hupe13)

    Thread Starter Tomek

    (@typ)

    Thanks, I’ve sent email

    Thread Starter Tomek

    (@typ)

    Thank you for the support!

    Plugin Author hupe13

    (@hupe13)

    For all others reading this thread: There was a problem with order of shortcodes: leaflet-search must be before leaflet-optiongroup and cluster.

    And we solved a problem with Elementor.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Search box is not displayed’ is closed to new replies.