Hi Lobas,
Check the StreetViewStatus code of your "Street View Service Response".
The status code may return one of the following values:
* OK indicates that the service found a matching panorama.
* ZERO_RESULTS indicates that the service could not find a matching
panorama with the passed criteria.
* UNKNOWN_ERROR indicates that a Street View request could not be
processed, though the exact reason is unknown.
There is a documentation. Please read
http://code.google.com/apis/maps/documentation/javascript/services.html#StreetViewService
Here's an example
http://code.google.com/apis/maps/documentation/javascript/examples/streetview-service.html
Regards,
Erwin
On Tue, Sep 21, 2010 at 4:29 PM, Lobas <[email protected]> wrote:
> We have a long and lat stored in the database and our script gets this
> information and creates a google map and a street view map, but if
> there is no streetview for the long and lat we have how can we display
> and error message? I cant find any documentation about this for V3,
> wasnt it error code 600 in v2 or something?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-maps-js-api-v3%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.