custom google map marker base on event category

Home Forums Calendar Products Events Calendar PRO custom google map marker base on event category

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #960314
    Francois
    Participant

    Hi, I customize my google map + my icon.
    http://laculture.erodcommunications.com/evenements/map/

    But I try to have different icon color base on which category the event is…
    I try many things into tribe-events-ajax-maps.js and tribe-geoloc.class.php but I can’t find the way to pass variable between this two files…

    Is there a way to achieve it?

    I saw some post about it without answer… posted a year ago.
    I really need to make it work.
    Thanks

    #960400
    Brian
    Member

    Hi,

    Thanks for using our plugins.

    Unfortunately, there is not much we can do to help here. It is as unknown to us how to do this as it is to you.

    I can try to answer some specific questions, but limited beyond that.

    The only way I know to pass variables to scripts in WordPress is to use wp localize script:

    https://codex.wordpress.org/Function_Reference/wp_localize_script

    Let me know if you have any follow up questions.

    Thanks

    #971337
    Brian
    Member

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘custom google map marker base on event category’ is closed to new replies.