Google Map in Venue

  • Mr. Dam
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
7 years 9 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:
Code:
https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false
and change to
Code:
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
5 years 9 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
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 years 9 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
5 years 9 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
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
5 years 9 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.

More
7 months 3 weeks ago #166447 by Gianna khan
Replied by Gianna khan on topic Google Map in Venue
A venue's ability to integrate Google Maps is revolutionary since it allows guests to navigate with ease and receive real-time information. By giving users quick access to crucial information like directions, neighboring facilities, and sites of interest, this creative feature improves the user experience. This technologically advanced solution improves accessibility and convenience for anyone.
GB Whatsapp

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

  • Mr. Dam
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
7 months 2 weeks ago #166456 by Mr. Dam
Replied by Mr. Dam on topic Google Map in Venue
Hi Gianna,
OK, i will consider to think about this idea for future improvement
Thanks
Dam

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

Moderators: Mr. Dam