You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-08-01 17:38:29

KyleR
New member
Registered: 2012-07-31
Posts: 4

Maps fail when loaded to website

I created a tour  and it includes a map using my google API key.    I updated Adobe's security key for my local and web address as "allow".
The local version works fine, but when I upload the contents from the "build" folder to my web page, then access the page with the URL I uploaded to,  I get an error saying the initialtion failed for the map load and says to check the API key, etc.  The tour finishes loading and everyting else seems to work fine, tour, sound, hotspots, etc.  The only thing not working is the map. 

I used a FTP program to upload the tour to my web site.  Have I missed something??  sad

Kyle

Offline

 

#2 2012-08-01 19:02:29

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9730
Website

Re: Maps fail when loaded to website

KyleR wrote:

I created a tour  and it includes a map using my google API key.    I updated Adobe's security key for my local and web address as "allow".
The local version works fine, but when I upload the contents from the "build" folder to my web page, then access the page with the URL I uploaded to,  I get an error saying the initialtion failed for the map load and says to check the API key, etc.  The tour finishes loading and everyting else seems to work fine, tour, sound, hotspots, etc.  The only thing not working is the map. 

I used a FTP program to upload the tour to my web site.  Have I missed something??  sad

Kyle

Google Maps Flash API keys are domain specific and Google stopped issueing new Flash API keys quite along time ago (they are switching to a Javascript API which is not yet supported by krpano/PTP)..

So unless you already had a Flash API key for the host domains from long ago you can no longer use the Google Maps layer with the Panotour Maps feature in PTP.

Instead you should use the Bing maps layer with the Panotour Maps in PTP.

When you get your Bing key it can appear (from the imfo on the Web site) also to be domain specific but it isn't.


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson