New home › Forums › Pro Add-on › General queries › Change marker icon on click
Tagged: custom marker
- This topic has 21 replies, 7 voices, and was last updated 1 year ago by mdesign.
January 18, 2021 at 5:23 pm #66983adambradfordMember
I have now done what you suggested, and I think I see what the problem was. The code was pointing to a resource located on my computer, not on the website. After deploying the site, I did a global search and replace on URL, but it obviously failed to update the URL for the map marker (no idea why!)
So hopefully it should work now. Please could you check and let me know?
Adam.January 19, 2021 at 7:03 am #66988AbelCModerator
I have viewed your map page and it appears that everything is now displaying as expected on our side.
Please do let me know if there is anything else that I can assist you with.
AbelJanuary 19, 2021 at 3:59 pm #66999adambradfordMember
Great, thanks for all your help, Abel!
Adam.January 20, 2021 at 7:18 am #67019AbelCModerator
It is only a pleasure.
Please do let us know if there is ever anything else that we can assist you with.
Have a great day!
AbelJuly 20, 2021 at 10:32 am #69950edskwareckiParticipant
I have this same exact question on my site as well…how to change the marker color on click.
Can you post the JS code that you used in order to get this work?
–EdJuly 22, 2021 at 12:54 am #69965edskwareckiParticipant
I have this question as well (change marker icon color on click), but some of the replies in this thread are marked as private.
Can you please re-post the js code that allows the in-map marker to change to some other non-default color after click?
–EdJuly 22, 2021 at 8:18 am #69970MatthewModerator
Thank you for getting in touch with us, your time is much appreciated.
I have found that you have also opened a support ticket with us regarding this, thus I have replied to you accordingly via your ticket.
I hope this helps?
MatthewSeptember 23, 2021 at 11:12 am #70656hristinaParticipant
I have this same question,
Can you please re-post the js code ? I have the pro plugin.
HristinaFebruary 8, 2022 at 9:21 pm #72233revolwareParticipant
Could you please send us the JS as well? We are looking exactly for this feature and have submitted a ticket for it but we can implement it ourselves.
Revolware teamFebruary 10, 2022 at 7:07 am #72240MatthewModerator
Thanking for getting in touch with us.
Unfortunately Abel is no longer with us and do not have the custom code that was used. This customization would fall under a customization request, which we currently do not have the capacity to take on any additional requests at this stage.
With that said, unfortunately this functionality is currently not supported, however, we may look into adding this feature in the next major version.
MatthewFebruary 10, 2022 at 9:21 pm #72246revolwareParticipant
alright, we understand.
RevolwareFebruary 11, 2022 at 7:00 am #72248MatthewModerator
Thank you for understanding, we do appreciate it.
We do hope to implement this feature in WP Google Maps V9!
Have a great day.
MatthewMay 11, 2022 at 4:12 pm #73051mdesignParticipant
I need exactly the same.. Could you send me an example code, I’m familiar with JS.
- You must be logged in to reply to this topic.