New home › Forums › Pro Add-on › Don't show all markers on load
Tagged: categories, hide, Makers, show, zoomControl
- This topic has 5 replies, 3 voices, and was last updated 5 years, 5 months ago by Dylan.
February 15, 2017 at 2:17 pm #24355lionel.laverdureMember
I would like to know if it is possible to not show (or hide) all markers, when the map loads (the page load). I just want to show the markers when the checkbox categories is clicked.
Sorry for my bad english.
LionelFebruary 16, 2017 at 8:07 am #24380DylanModerator
Thank you so much for getting in touch with us, we really appreciate your time on this one.
It is possible to hide all markers until a search (with Store Locator) is done.
However I suspect that you are making use of the ‘Filter by’ functionality, is this correct?
To achieve this I believe some code changes would be required.February 22, 2017 at 3:49 pm #24626lionel.laverdureMember
Sorry for the response time.
And for your question, yes I use the “filter by”. However I found a solution in order to make what I want (I used jquery, again, and iI simulated a click in a categorie).
So now I have a little problem, I want to change the position of the zoomControl, on the map. I want to put the zoomControl in the middle right of the map.
Is it exist a configuration in the admin of the map ?
Thank you.February 23, 2017 at 7:12 am #24643DylanModerator
I am glad to hear you found a work around for the first issue.
With regards to re-positioning the zoom control, this can unfortunately only be done by making some minor changes to the code of the plugin.
Are you comfortable to do so? If so, I would be happy to guide you as best possible to resolve this issue for you. 🙂October 25, 2017 at 12:29 pm #31585LenaSteudtnerMember
I’m new here and I’ve got the sam question as Lionel above.
Which code changes and where would I have to make?
LenaOctober 31, 2017 at 9:20 am #31751DylanModerator
Welcome to the forum, and thank you for submitting a post!
Could I ask you to stipulate which segment of this thread you need help with? The original poster of the thread did find a work around, so I would just like to know if you would need help with the first or second part of this implementation?
Additionally, are you comfortable with making code changes? 🙂
- You must be logged in to reply to this topic.