stephenharris / Event-Organiser

WordPress plug-in, Event Organiser, development repository
http://wordpress.org/extend/plugins/event-organiser/
GNU General Public License v3.0
100 stars 76 forks source link

Venue location google map error #451

Open Lester142 opened 5 years ago

Lester142 commented 5 years ago

Entering a UK postcode AL4 8HW produces a google map location in the sea off the african coast.

When I started using the google map feature, it worked correctly. Then for some reason one of my venues vanished and now the google mapping function appears broken.

image

How do I correct this error.

Lester142 commented 5 years ago

The booking history shortcode does not work inside a SiteOrigin Editor widget.

The shortcode I am using is: [booking_history]

image

Within the widget is a widget preview button which when pressed shows the booking history correctly:

image

... but when I preview the page itself, I get a blank screen where the booking details should appear:

image

The theme being used is Sydney.

Is this a known bug and how can I fix the issue.

stephenharris commented 5 years ago

Try putting a space in the postcode? It works for me. If that doesn't work, check your Google key has geolocation enabled.

The booking history is a very simple shortcode that will display bookings for the logged-in user. Does it work on a normal page, not in a SiteOrigin widget?

Lester142 commented 5 years ago

Hi - thanks for your attempt at help with the Google API. I have fiddled and fiddled along the lines suggested but could not get it to work so have switched to OpenStreetMap which works fine for my purposes. Incidentally, Google Maps seem to have moved to a paid for service which is not massively attractive.

I have tried the [booking_history] shortcode on a normal page and still no joy.

Is there anything else you can suggest.