Custom info in marker map

Home Forums Calendar Products Events Calendar PRO Custom info in marker map

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1386962
    gfardoux
    Participant

    Hi, i need to display some custom info in marker infowindows on the event google map

    i found some thread about this but nothing work ( maybe because the thread are old )

    how can i do this please ? I just need the venue information ( title + content ) displaying in marker infowindows

    thanks for help

    #1388383
    Patricia
    Member

    Hi there,

    Thank you for reaching out to us!

    Before we begin, just to set expectations, the scope of our support is mostly to get our customers started on the right track and to help them in case of issues. We unfortunately do not provide complete support for customizations like this one.

    The basic steps to achieve what you want are:

    1- Dequeue our tribe-events-ajax-maps.js file:

    https://gist.github.com/nefeline/124dcd0a975b4108198a859c365b3281

    2- Enqueue your own custom js file via custom plugin.
    3- Modify the content inside the infoWindow (the code you’ll have to change is in tribe-events-ajax-maps.js, lines 62-65):

    62       var content = TribeEventsPro.map_tooltip_event + content_title;
     63 
     64       if ( address ) {
     65         content = content + "<br/>" + TribeEventsPro.map_tooltip_address + address;                                                                                                                      
     66       }
     67 
     68       infoWindow.setContent( content );
    

    I hope this helps you get started! If you have any other questions at all please feel free to let me know and I’d be happy to help as best I can!

    Cheers,

    Patricia

    #1404653
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom info in marker map’ is closed to new replies.