Google custom streetview player failing with remote data source?

97 views
Skip to first unread message

Jan Martin

unread,
Dec 6, 2012, 7:53:55 AM12/6/12
to google-map...@googlegroups.com
Hi all,

please have a look at my Google custom streetview player implementation (simplified for testing):
http://www.detestserver.de/sameserver/start.html
It works well as long as the player.js and the test.php file (for the links data etc.) are on the same server.

Data is still retrieved, but display fails when the test.php file is on another server:
http://www.detestserver.de/differentservers/start.html
test.php then this:
http://www.usatestserver.com/differentservers/test.php?callback=callback&streetview=000020&_=1354798106474

Using Firebug with Firefox one can see that the data still has been received and the format is valid:
http://www.detestserver.de/differentservers/different_servers_1.png
http://www.detestserver.de/differentservers/different_servers_2.png

I wonder what is wrong with the player?

Thanks.

All files can be found here:
same server example:
http://www.detestserver.de/sameserver/

different server example:
http://www.detestserver.de/differentservers/
http://www.usatestserver.com/differentservers/
Reply all
Reply to author
Forward
0 new messages