We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d54de1a commit b082daaCopy full SHA for b082daa
2 files changed
src/test/java/com/google/maps/ElevationApiIntegrationTest.java
@@ -34,7 +34,7 @@ public class ElevationApiIntegrationTest extends AuthenticatedTest {
34
35
public static final double SYDNEY_ELEVATION = 19.11174774169922;
36
public static final double SYDNEY_POINT_ELEVATION = 19.10829925537109;
37
- public static final double MELBOURNE_ELEVATION = 25.49982643127441;
+ public static final double MELBOURNE_ELEVATION = 9.253130912780762;
38
private static final double EPSILON = .00001;
39
private static final LatLng SYDNEY = new LatLng(-33.867487, 151.206990);
40
private static final LatLng MELBOURNE = new LatLng(-37.814107, 144.963280);
src/test/java/com/google/maps/GeocodingApiTest.java
@@ -264,12 +264,15 @@ public void testPartialMatch() throws Exception {
264
assertTrue(results[0].partialMatch);
265
}
266
267
+ /**
268
+ * Testing UTF8 result parsing.
269
+ */
270
@Test
271
public void testUtfResult() throws Exception {
272
GeocodingResult[] results = GeocodingApi.newRequest(context)
- .components(ComponentFilter.postalCode("96766"))
273
+ .latlng(new LatLng(46.8023388,1.6551867))
274
.await();
275
- assertEquals("Līhuʻe, HI 96766, USA", results[0].formattedAddress);
276
+ assertEquals("1 Rue Fernand Raynaud, 36000 Châteauroux, France", results[0].formattedAddress);
277
278
0 commit comments