On Jun 6, 6:52 am, Ajo <[email protected]> wrote: > > If you download the html file and the associated map.js javascript > file and run it directly from your desktop everything works fine. It > seems that the issue only happens when served up from a server so I > assumed it has something to do with Cross domain restriction.
I think the issue is your Premier licence key. When run locally, the key check is skipped, so you may well get the ordinary API downloaded. I don't have a Premier licence, and my Streetview page at http://www.acleach.me.uk/gmaps/streetview-infow2.htm makes requests of server cbkN.google.com (N is a number) and gets JPEG images which the Flash player stitches together. Your page makes requests of maps-api- ssl.google.com, and gets JSON code. It is true that my page creates the Streetview anew every time it needs to display it, which may not be particularly efficient, but the requests it makes to get the data to display are definitely different, and that shouldn't depend on whether the panorama is new or not. You could try hosting my page on your server, changing the key for your Premier licence and see if it works the same. This may be something for your Premier support rep. -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
