×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Tha map in the locations page in not displayed

Tha map in the locations page in not displayed 2 years 6 months ago #31325

  • Andreas Panos
  • Andreas Panos's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hi
suddenly the map in the locations page is not loaded.
I did not do any updates either to joomla or to hotspots.
The map in the frontend and in the dashboard is displayed correctly.
What is wrong?
I use joomla 2.5.14 and hotspots 3.6.2

Tha map in the locations page in not displayed 2 years 6 months ago #31335

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hey Andreas,
Most probably what's wrong is your joomla version - 2.5 :) Best would be 3.x, but I agree that it's not always that easy.

For starters - upgrade to joomla 2.5.28. Your joomla version has security holes that were already fixed.

On joomla 2.5 the mootools version that is provided breaks the google maps js. There is a bind function in the library that screws the map (on joomla 3.x the version of mootools is different and that bind function is not there). Anyway the way to go around this is to load the google maps api first, and after that mootools. We do this already in the latest release of Hotspot which is 5.1.10. And I no longer have a clue what we did in Hotspots 3.6.2 - this was like 2 years ago :)

Another possibility for the issue is - jquery conflict. Maybe you've have several version of jquery on the page and they can't work with each other. Anyway - without a link to the page I'm giving you ideas at random.

Regards,
Daniel

Tha map in the locations page in not displayed 2 years 2 months ago #32425

  • Natascha
  • Natascha's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
Hello Daniel,
I have the same problem as described above. The map was working perfectly normal for a long time and now suddenly customer noticed it stopped . I can't tell how long it has been. There were no changes made in the Joomla system for a long time.

Preferences of the system are Joomla! 2.5.18 and Hotspots Professional 3.5.5 .

Here is the link to my website where the map is visible: goo.gl/5OGd8J .

Thank you very much for your help.

EDIT: B)
I solved it with this:
$gmapsapi = ' maps.google.com/maps/api/js?v=3.9&sensor=true ';

Tha map in the locations page in not displayed 2 years 2 months ago #32426

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
Hey Natascha,
At least update to 2.5.28.

Yes, what you made is working. Lately I had another user with a similar issue as well and I changed the google maps url for him as well. It seems that google has changed something in the api and it is not executing anymore with the old code in 3.x branch

Regards,
Daniel

Tha map in the locations page in not displayed 1 year 3 months ago #34764

  • Kris
  • Kris's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello,
I've just installed your newest version on newest joomla version and have the same problem, I can't see the map in hotpot creation. 2nd issue is that if i enter the coordinates from google manually - on the frontend it shows in a different place. About 100 km away. Any ideas? I'm thinking about going pro and it's essential for me to work properly.

Tha map in the locations page in not displayed 1 year 3 months ago #34767

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
@Kris - have you provided an API key. Google now needs an api key for the map to load. If you enter coordinates, then it should show exactly those coordinates.

Regards,
Daniel

P.S. If the problem persist, please start another thread with a link to the site.

Tha map in the locations page in not displayed 1 year 3 months ago #34778

  • Kris
  • Kris's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
And how can I get the API key? :-)

Tha map in the locations page in not displayed 1 year 3 months ago #34780

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 154
  • Thank you received: 1081
  • Page:
  • 1
Time to create page: 0.094 seconds