Google Groups Home
Help | Sign in
Syntax changes for v2.103 - preliminary report
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  24 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Blackpool Community Church  
View profile
 More options Mar 11, 8:12 pm
From: Blackpool Community Church <eco...@googlemail.com>
Date: Tue, 11 Mar 2008 17:12:19 -0700 (PDT)
Local: Tues, Mar 11 2008 8:12 pm
Subject: Syntax changes for v2.103 - preliminary report
new Classes

  GStreetviewClient()
  GStreetviewOverlay()
  GStreetviewPanorama(a)

new Methods

  GStreetviewClient.getNearestPanorama(a,b,c)
  GStreetviewClient.getNearestPanoramaLatLng(a,b,c)
  GStreetviewClient.getPanoramaById(a,b)

  GStreetviewOverlay.constructor(a)
  GStreetviewOverlay.copy()
  GStreetviewOverlay.getTileLayer()
  GStreetviewOverlay.hide()
  GStreetviewOverlay.initialize(map)
  GStreetviewOverlay.isHidden()
  GStreetviewOverlay.redraw()
  GStreetviewOverlay.refresh()
  GStreetviewOverlay.remove()
  GStreetviewOverlay.show()
  GStreetviewOverlay.supportsHide()

  GStreetviewPanorama.blur()
  GStreetviewPanorama.checkResize()
  GStreetviewPanorama.copy()
  GStreetviewPanorama.focus()
  GStreetviewPanorama.followLink()
  GStreetviewPanorama.getPOV()
  GStreetviewPanorama.hide()
  GStreetviewPanorama.isHidden()
  GStreetviewPanorama.panTo()
  GStreetviewPanorama.remove()
  GStreetviewPanorama.retarget()
  GStreetviewPanorama.setContainer()
  GStreetviewPanorama.setLocationAndPOV()
  GStreetviewPanorama.setLocationAndPOVFromServerResponse()
  GStreetviewPanorama.setPOV()
  GStreetviewPanorama.show()
  GStreetviewPanorama.unhide()

new Static Methods

  GStreetviewClient.ReturnValues

deleted Methods

  GLatLng.fromUrlValue()        [the static method of the same name
continues to exist]
  GPolyline.isDrawing()

new error status codes

  G_NO_NEARBY_PANO = 600
  G_FLASH_UNAVAILABLE = 603


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
 More options Mar 12, 2:06 am
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Wed, 12 Mar 2008 06:06:30 +0000
Local: Wed, Mar 12 2008 2:06 am
Subject: Re: Syntax changes for v2.103 - preliminary report
A few more changes:

new status codes

  G_SUCCESS = 200
  G_SERVER_ERROR = 500

new events

  capture        ???
  yawchanged     GStreetviewPanorama
  pitchchanged   GStreetviewPanorama
  zoomchanged    GStreetviewPanorama
  initialized    GStreetviewPanorama
  flashstart     GStreetviewPanorama
  infolevel      GStreetviewPanorama
  flashresponse  GStreetviewPanorama

new module

  mod_cb_api.js  contains some of the Streetview code

new loader flags

  _mf[56] string:  Streetview panorama flash location
  _mf[57] string:  Streetview overlay server location
  _mf[59] boolean: Streetview enabled switch
  _mf[60] string:  Something to do with Streetview

The Streetview stuff won't work unless all the new loader flags are set,
which they aren't at the moment.

--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
 More options Mar 12, 6:36 am
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Wed, 12 Mar 2008 10:36:27 +0000
Local: Wed, Mar 12 2008 6:36 am
Subject: Re: Syntax changes for v2.103 - preliminary report
GStreetviewOverlay is the part of StreetView that handles the display of
the blue lines along the streets that have Street View images.

Like this:
http://econym.googlepages.com/temp_streetviewoverlay.htm

--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bratliff  
View profile
 More options Mar 12, 8:41 am
From: bratliff <bratl...@umich.edu>
Date: Wed, 12 Mar 2008 05:41:28 -0700 (PDT)
Local: Wed, Mar 12 2008 8:41 am
Subject: Re: Syntax changes for v2.103 - preliminary report
Do you happen to know whether Flash is required for API StreetViews ?

Is Street View support a modular component of the API ?


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
(1 user)  More options Mar 12, 8:46 am
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Wed, 12 Mar 2008 12:46:27 +0000
Local: Wed, Mar 12 2008 8:46 am
Subject: Re: Syntax changes for v2.103 - preliminary report
GStreetviewClient is the part of StreetView that sends requests to the
StreetView server and obtains details of the views

Like this:
http://econym.googlepages.com/temp_streetviewclient.htm

So GStreeviewPanorama must be the bit that displays the StreetView
imagery, but I can't work out the syntax.

--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
warden [Andrew Leach - Maps API Guru]  
View profile
 More options Mar 12, 8:52 am
From: "warden [Andrew Leach - Maps API Guru]" <andrew.leac...@googlemail.com>
Date: Wed, 12 Mar 2008 05:52:48 -0700 (PDT)
Local: Wed, Mar 12 2008 8:52 am
Subject: Re: Syntax changes for v2.103 - preliminary report
On Mar 12, 12:41 pm, bratliff <bratl...@umich.edu> wrote:

> Do you happen to know whether Flash is required for API StreetViews ?

Given that there is now
 G_FLASH_UNAVAILABLE = 603
it would appear likely!

And in fact, trying to use StreetView on Google Maps without Flash
enabled gives a large infoWindow with "To use street view, you need
Adobe Flash Player version 9 or newer."

Andrew


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
 More options Mar 12, 8:51 am
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Wed, 12 Mar 2008 12:51:36 +0000
Local: Wed, Mar 12 2008 8:51 am
Subject: Re: Syntax changes for v2.103 - preliminary report
Wasn't it bratliff who wrote:

>Do you happen to know whether Flash is required for API StreetViews ?

The imagery is displayed in Flash.

GStreetviewOverlay and GStreetviewClient don't need Flash, but
GStreetviewPanorama does.

>Is Street View support a modular component of the API ?

Some of the Streetview code is in the new mod_cb_api.js module, but
there's quite a bit in main.js.

--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
marcelo  
View profile
(1 user)  More options Mar 12, 9:27 am
From: marcelo <marcelo...@hotmail.com>
Date: Wed, 12 Mar 2008 06:27:14 -0700 (PDT)
Local: Wed, Mar 12 2008 9:27 am
Subject: Re: Syntax changes for v2.103 - preliminary report
On Mar 12, 7:51 am, Mike Williams <nos...@econym.demon.co.uk> wrote:

> Wasn't it bratliff who wrote:
> >Do you happen to know whether Flash is required for API StreetViews ?

> The imagery is displayed in Flash.

> GStreetviewOverlay and GStreetviewClient don't need Flash, but
> GStreetviewPanorama does.

Flash? That's where my liking of Google ends.

--
Marcelo - http://maps.forum.nu
--


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
(2 users)  More options Mar 12, 9:27 am
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Wed, 12 Mar 2008 13:27:31 +0000
Local: Wed, Mar 12 2008 9:27 am
Subject: Re: Syntax changes for v2.103 - preliminary report
I've discovered one way of getting the StreetviewPanorama working.

http://econym.googlepages.com/temp_streetviewpanorama.htm

--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bratliff  
View profile
(1 user)  More options Mar 12, 10:51 am
From: bratliff <bratl...@umich.edu>
Date: Wed, 12 Mar 2008 07:51:12 -0700 (PDT)
Local: Wed, Mar 12 2008 10:51 am
Subject: Re: Syntax changes for v2.103 - preliminary report
On Mar 12, 12:51 pm, Mike Williams <nos...@econym.demon.co.uk> wrote:

GREAT - something else I will never use with an impact on performance
for everybody.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mike Williams  
View profile
(1 user)  More options Mar 12, 3:19 pm
From: Mike Williams <nos...@econym.demon.co.uk>
Date: Wed, 12 Mar 2008 19:19:22 +0000
Local: Wed, Mar 12 2008 3:19 pm
Subject: Re: Syntax changes for v2.103 - preliminary report
It turns out that there's a simpler way to use GStreetviewPanorama()

http://econym.googlepages.com/temp_streetviewpanorama2.htm

I've documented what I've found in my unofficial reference:

http://econym.googlepages.com/reference.htm#GStreetviewClient

--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cornea  
View profile
(1 user)  More options Mar 12, 8:48 pm
From: cornea <keircla...@googlemail.com>
Date: Wed, 12 Mar 2008 17:48:53 -0700 (PDT)
Local: Wed, Mar 12 2008 8:48 pm
Subject: Re: Syntax changes for v2.103 - preliminary report
That's brilliant Mike.

Working on your example I have added the embed code for the street
view Flash file (swf) adding the panoId dynamically. Now when you open
the infowindow you see the actual street view.

http://keirclarke.googlepages.com/streetviewapi.htm

On Mar 12, 12:46 pm, Mike Williams <nos...@econym.demon.co.uk> wrote: