private static bool CheckUri(Uri uri) => HttpTestHelper.CheckUri(
     uri,
     Uri.UriSchemeHttps,
     BaseUri.Host,
     "/v1/geocode",
     ImmutableDictionary <string, string> .Empty
     .Add("apiKey", ApiKey)
     .Add("lang", "nl-NL")
     .Add("in", "countryCode:NLD")
     .Add("qq", $"postalCode={PostalCode};houseNumber={HouseNumber}"));
Exemplo n.º 2
0
 private static bool CheckUri(Uri uri) => HttpTestHelper.CheckUri(
     uri,
     Uri.UriSchemeHttps,
     BaseUri.Host,
     "/mia/1.6/mapview",
     ImmutableDictionary <string, string> .Empty
     .Add("apiKey", ApiKey)
     .Add("ml", "dut")
     .Add("f", "1")
     .Add("ppi", "250")
     .Add("nodot", "true")
     .Add("c", Position.ToString())
     .Add("z", ZoomLevel.ToString(CultureInfo.InvariantCulture))
     .Add("h", RequestedHeight.ToString(CultureInfo.InvariantCulture))
     .Add("w", RequestedWidth.ToString(CultureInfo.InvariantCulture)));