• Resolved ViolaMurasaki

    (@violamurasaki)


    Hello

    First, thank you for this wonderful plugin.
    I have a problem with the Google map, it properly displays the location place when setting the address on the add location / edit location page, but on the actual front-end single event page or location page Google map doesn’t show up, leaving only a grey field.

    I’ve tried to re-install the plugin, change to a default theme and deactivate all the other plugins, but the problem still persists.
    I don’t have a link because I’m working on the site on local, but I wonder if there is a solution, since the Google map feature would be really appreciated and I really don’t want just to turn off the option.

    Thank you.

    https://www.ads-software.com/plugins/events-maker/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author dFactory

    (@dfactory)

    There was a problem tlike that in previous versions of EM. It’s strange you still experience that.

    Do you have your location data set and working fine in the admin?
    What fields are not filled for that location?

    Thread Starter ViolaMurasaki

    (@violamurasaki)

    Yes, the map on the location is working fine on the admin side, I filled all the fields except for Description and State / Province.

    Location admin page screenshot https://i1380.photobucket.com/albums/ah195/vmurasaki/location_zpsvp9zn0ui.png

    Single event screenshot https://i1380.photobucket.com/albums/ah195/vmurasaki/eventpage_zpsdneojcge.png

    I tried also to put addresses from other countries, but the map wasn’t displayed.

    Plugin Author dFactory

    (@dfactory)

    Could you do some debugging / var dumps for location data in templates/loop-event/google-map.php

    We’d now what data you have there.

    Thread Starter ViolaMurasaki

    (@violamurasaki)

    I’d love to do that, but I don’t know very much about PHP, so can you please tell me what code I have to put where?

    Hey,
    I have the exact same issue:

    https://www.paperworks.org.au/events-calendar/e/kids-school-holiday-workshop/

    I’m running Unite (heavily customised css) theme and woocommerce on this but these don’t seem to be causing it but, the single event pages disappear from ‘time-to-time’ and I found that i can turn it back on again by selecting different options in the Product settings/permalinks/permalink base down on the wp dashboard. Kinda strange.

    Anyway, any love on the Google maps issue would be nice.
    Cool plugin by the way. ??

    Plugin Author dFactory

    (@dfactory)

    You can register and post a link on our forum – maybe it would require an admin access to your site figure the issue.

    Greetings,

    I am having the exact same problem as mentionned before.

    When scrolling the grey area where the map is supposed to be shown, JS console shows de following :

    Uncaught TypeError: Cannot read property 'x' of undefinedVM2432:115 KvVM2432:112 M.xkmain.js:15 (anonymous function)main.js:17 R.triggerVM2433:11 (anonymous function)main.js:17 R.triggermain.js:19 kbmain.js:17 R.triggerVM2432:76 M.Hkmain.js:15 (anonymous function)main.js:17 R.triggerVM2432:88 HuVM2432:87 M.Qimain.js:18 (anonymous function)

    The map is correctly shown in backend (admin).

    Vardump of variables in templates/loop-event/google-map.php :

    <strong>var_dump($display_options);</strong>
    array(3) { ["google_map"]=> bool(true) ["display_gallery"]=> bool(false)
    ["display_location_details"]=> bool(true) }
    <strong>var_dump($locations);</strong>
    array(1) { [0]=> object(stdClass)#3142 (11) { ["term_id"]=> int(92) ["name"]=> string(55) "National Puppetry Festival of the Puppeteers of America" ["slug"]=> string(55) "national-puppetry-festival-of-the-puppeteers-of-america" ["term_group"]=> int(0) ["term_taxonomy_id"]=> int(92) ["taxonomy"]=> string(14) "event-location" ["description"]=> string(0) "" ["parent"]=> int(0) ["count"]=> int(1) ["filter"]=> string(3) "raw" ["location_meta"]=> array(7) { ["google_map"]=> array(2) { ["latitude"]=> string(10) "41.8077414" ["longitude"]=> string(11) "-72.2539805" } ["address"]=> string(53) "University of Connecticut - University of Connecticut" ["city"]=> string(6) "Storrs" ["state"]=> string(11) "Connecticut" ["zip"]=> string(0) "" ["country"]=> string(2) "US" ["image"]=> int(0) } } }

    Thanks for your support.

    Plugin Author dFactory

    (@dfactory)

    Found it, fixed it. An update is on the way.

    Thank you all.

    Regards,
    Bartosz / dfactory

    Thread Starter ViolaMurasaki

    (@violamurasaki)

    It works perfectly now!
    Thank you so much!

    Perfect! Thanks! :0

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Google map not displayed properly in single event page’ is closed to new replies.