Google MAPS works when loaded from local pc, but not when hosted,but works on phone!! [SOLVED]

  • hi!!

    First post here!

    I managed to get my tour compleated reading all documentation but I have this problem with google maps that I just can't figure it out.

    It loads the google map and mapspots when i run the tour from the pc perfectly, then I uploaded the tour to host it on Gdrive here >> http://goo.gl/1SFS2e

    but now loading the hosted tour does not load the maps using a PC but when I load the hosted tour on my phone it works perfectly. *confused*

    Any ideas/suggestion on where to look or how to fix it??

    Best regards,
    Rigo Renteria

    Einmal editiert, zuletzt von Rigo01 (31. Mai 2015 um 18:39)

  • I noticed Inspector/Console was blocking the map due to mixed content, the google .js uses http and not https

    I added the https url in vtourskin.xml like bellow

    set(layer[skin_map].url, '%SWFPATH%/plugins/googlemaps.js');
    set(layer[skin_map].mapsapi, 'https://maps.google.com');

    it works now, but is it a good fix??

    Regards,
    Rigo.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!