@capgo/nativegeocoder 0.1.11 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -126,7 +126,7 @@ public class NativeGeocoder {
|
|
|
126
126
|
if (!latitude.isEmpty() && !longitude.isEmpty()) {
|
|
127
127
|
// https://developer.android.com/reference/android/location/Address.html
|
|
128
128
|
JSObject placemark = new JSObject();
|
|
129
|
-
placemark.put("latitude", address.getLatitude();
|
|
129
|
+
placemark.put("latitude", address.getLatitude());
|
|
130
130
|
placemark.put("longitude", address.getLongitude());
|
|
131
131
|
placemark.put("countryCode", address.getCountryCode() != null ? address.getCountryCode() : "");
|
|
132
132
|
placemark.put("countryName", address.getCountryName() != null ? address.getCountryName() : "");
|