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)
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.