Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Brian

    (@brianjessee)

    Hi,

    Sorry for the issues.

    Do any maps work or is it just this one?

    Also, it looks like you have html minification on and perhaps css and js.

    If you turn that off does it fix the issue?

    Thread Starter KhidhaBoy

    (@khidhaboy)

    Hi Brian,

    I’ve tried that – turned off minify in W3TC – still no maps.

    Its all off the event items – non of the maps load.

    any ideas?

    Plugin Author Brian

    (@brianjessee)

    Hi,

    Sorry for the issues you are having. Do you have a link so we can see the issue?

    I am still seeing the minification and caching so not sure if that helped.

    I would also suggest following out testing for conflicts guide to see if that can help narrow down the issue:

    https://theeventscalendar.com/knowledgebase/testing-for-conflicts/

    Let us know what you find out.

    Thanks

    Thread Starter KhidhaBoy

    (@khidhaboy)

    HI

    Tried turning off W3TC completely – still no maps.

    Switched themes to Twenty Twelve and maps started to work again. When I compared the div “tribe-events-gmap” in Twenty Tweleve I noticed that it had a number at the end.

    ie <div id="tribe-events-gmap-0">

    When I viewed the div in my theme I had:
    <div id="tribe-events-gmap-Some random text">

    The random text was being generated in map.php line 17:

    <div id="tribe-events-gmap-<?php esc_attr_e( $index ) ?>" style="<?php esc_attr_e( $style ) ?>"></div><!-- #tribe-events-gmap-<?php esc_attr_e( $index ) ?> -->

    So now I’ve copied map.php to my child theme and replaced that line with:

    <div id="tribe-events-gmap-0" style="<?php esc_attr_e( $style ) ?>"></div><!-- #tribe-events-gmap-0 -->

    Now all maps work.

    Whats the significance of <?php esc_attr_e( $index ) ?>?
    thanks

    I am having the same issue now. Google maps is not rendering in the event page – but if you click +google link it does load up google map page.

    The google maps were rendering fine up until recently.

    I am using WP Theme Magazine Pro with Genesis Framework.

    same problem here.Using a timber/twig theme (not develop by myself)
    Any ideas (site is not public so unfortunately no links.

    Regards

    Brook

    (@brook-tribe)

    Thanks for sharing your solution KhidhaBoy. THat was a really good catch. It is very likely the source of everyone’s problem here. Have you guys tried that solution as well?

    – Brook

    Can someone share where the map.php can be found? I can’t find it anywhere and this has been causing me issues for weeks.

    Thread Starter KhidhaBoy

    (@khidhaboy)

    @nicholems – you’ll find it in “plugins/the-events-calendar/views/modules/map.php”

    I then copied and moved it into my child-theme:
    “themes/child-theme/tribe-events/modules/map.php”

    Then make the tweak as per my previous post.

    best of luck – hopefully there will be a proper fix soon!

    @brook

    Tried this, no joy – seeing the maps fine in Chrome/Firefox – no map in Safari.

    Thanks @khidhaboy!

    Unfortunately, the fix didn’t work for me. I can see the code change when I look at the page now but the map still isn’t showing. ?? Thanks for your help though, much appreciated. Glad something worked for you. ??

    Brook

    (@brook-tribe)

    Howdy David,

    Would you mind opening up your own topic and thoroughly detail your problem? Per the forum rules on www.remarpro.com you should start your own topic, unless “you are using the same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme, and configurations as the original poster”. Having your own topic helps ensure that each person gets the topics full attention and no one’s unique details get accidentally ignored.

    Cheers!
    – Brook

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Google map not rendering’ is closed to new replies.