はじめまして。

ジオコーディングオブジェクト(JS)を利用し、緯度・経度から構造化された住所を抽出していますが、特定条件下において、610のエラーレスポンスコ
ードが返却されます。

HTTPリクエストパラメータの指定で、ライセンスKEYを設定することで改善できることはわかっていますが、改修案が見つからない状況です。

GClientGeocoderオブジェクト生成時にパラメータ指定、もしくは、getLocationsの指定でパラメータし、対応することは可能で
しょうか。

□特定条件下
・リファラが指定したドメインではない場合

□コード(v2)
var point = new GLatLng(緯度,経度);
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to