Google Map in Venue

  • Mr. Dam
  • Mr. Dam's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
3 years 4 months ago #95602 by Mr. Dam
Google Map in Venue was created by Mr. Dam
Hi Everyone,
Some customers who are using old OS Services Booking version complained with us about the problem with Google map in Venue page (both Front-end and Back-end).
In fact, this issue has cause from Google policy changing in some months ago. You can upgrade OS Services Booking into latest version to solve the problem.
But in case, you don't want to upgrade OS Services Booking, you can follow these steps to solve the issue.
1. Open files:

root > administrator > components > com_osservicesbooking > classes > venue.html.php

and

root > components > com_osservicesbooking > classes > default.html.php

2. Find:
https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false
and change to
https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=AIzaSyA4t1no8tjaqP95plUJHYUewFow7RGTlEI

Good luck
Dam

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #122410 by Paul Brittain
Replied by Paul Brittain on topic Google Map in Venue
Hi
I have just installed version OS Services Booking version 2.7.3 and the Google Map reveals the following "For Development Purposes only" !!

Please could advise?
I do have the Google API Key which works correctly with other applications installed on this website!

Cheers

Paul

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Mr. Dam's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
1 year 5 months ago #122443 by Mr. Dam
Replied by Mr. Dam on topic Google Map in Venue
Hi Paul,
I provided the solution to solve this kind of problem above. Have you tried my solution yet?
Thanks
Dam

Please Log in or Create an account to join the conversation.

More
1 year 5 months ago #122446 by Paul Brittain
Replied by Paul Brittain on topic Google Map in Venue
Hi Mr Dam
Yes ! But when I replace the Google API with the correct KEY the action errors the component as follows :-

An error has occurred.
0 syntax error, unexpected '}', expecting end of file
Return to Control Panel

Cheers
Paul

Please Log in or Create an account to join the conversation.

  • Mr. Dam
  • Mr. Dam's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
More
1 year 5 months ago #122447 by Mr. Dam
Replied by Mr. Dam on topic Google Map in Venue
Hi Paul,
Please submit ticket and send your site url with super admin account, your Google Map API key. I'll help you to replace the Google Map key
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam