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.