コード例 #1
0
 public void QueryAsync(Location location)
 {
     var requestUri =
         new Uri("http://maps.googleapis.com/maps/api/geocode/json?latlng=" + location.lat + "," + location.lng +
                 "&sensor=" + hasSensor.ToString().ToLower());
     var wr = WebRequest.CreateHttp(requestUri);
     wr.Headers["Accept-Language"] = "DE";
     wr.BeginGetResponse(WebRequestReady, wr);
 }
コード例 #2
0
 public ReverseGeocode(Location location, bool hasSensor)
 {
     this.location = location;
     this.hasSensor = hasSensor;
 }
コード例 #3
0
 public ReverseGeocode(Location location)
 {
     this.location = location;
 }