Tuesday, November 29, 2011

[Google Maps API v2] Re: エラーレスポンスコード(610)について

On 11月15日, 午前2:28, Andrew Leach <andrew.leac...@gmail.com> wrote:
> On Nov 12, 3:39 am, tttt24 moo <moo.ttt...@gmail.com> wrote:
>
> > はじめまして。
>
> I don't know what the Japanese text actually says, but610is a "Bad
> Key" error. Please supply a link to the page which is failing: we may
> be able to see what's wrong.

Hi.Andrew Leach.

Sorry for Japanese.

Extracting structured address information with latitude and longitude
by
using geo-coding object(JS), 610 error response code is returned under
a
specific condition, where the domain is not refered by referrer.

We have understood that it can be improved by setting license KEY
while
specifying HTTP request parameter, but we have no idea how to fix it
perfectly.

Would it be possible to fix by specifying some parameter when to
create
GClientGeocoder object, or using getLocations specified parameters?

□code(v2)
var point = new GLatLng(LAT,LON;)
var gcgeo = new GClientGeocoder();
gcgeo.getLocations(point, function(callbackmethod) {
if(callbackmethod.Status.code != 200) {
alert("Failed to find an address for " +
point.toUrlValue());
} else {
var result = callbackmethod.Placemark[0];
document.getElementById("lastupdate.positionaddress").value =
result.address;
}
}


--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate