The update of the API seem to be rolled back now and the service works
as before.
Se thread:
http://www.google.com/url?sa=D&q=http://groups.google.com/group/google-maps-api/browse_thread/thread/721a7a5115ed35ce%23&usg=AFQjCNH7Fu_BI2BwwTZaOpAV4vZcnn252w

On 2 Juli, 13:46, "Magnus O." <[email protected]> wrote:
> I noticed that viewport part aswell. I'll try to remove this. It has
> however worked before so there has been a change to the service or the
> google maps api. My code looks like this:
>
> if (bounds != undefined && bounds != null)
>                                         this.geocoder.setViewport(bounds);
>
>                                 this.geocoder.getLocations(q, 
> function(response) {
>
>                                         if (response && response.Status.code 
> == 200) {
>
>                                                 
> $(response.Placemark).each(function() {
>                                                         data.push(this);
>                                                 });
>                                         }
>
>                                         func(data);
>                                 });
>
> I will try to remove the viewport parts and see if it works better.
>
> Magnus
>
> On Jul 2, 1:05 pm, Andrew Leach <[email protected]> wrote:
>
> > On Jul 2, 11:59 am, Andrew Leach <[email protected]> wrote:
>
> > > On Jul 2, 11:43 am, "Magnus O." <[email protected]> wrote:
>
> > > > I use the built in geocoding service in the google maps api v2. It
> > > > produces a request like 
> > > > this:http://maps.google.se/maps/geo?output=json&oe=utf-8&q=gothenburg&ll=6...
>
> > Aha. Correction (well, nearly). Your ll= and spn= come from a viewport
> > specification. The other thread is still relevant, but not for the
> > reason I assumed.
>
>

-- 
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.

Reply via email to