@rnmapbox/maps 10.0.0-beta.37 → 10.0.0-beta.38
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.
|
@@ -127,15 +127,9 @@ object GeoJSONUtils {
|
|
|
127
127
|
val array = Arguments.createArray()
|
|
128
128
|
val ne = bounds.northeast
|
|
129
129
|
val sw = bounds.southwest
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
LatLng(sw.latitude(), sw.longitude()),
|
|
134
|
-
LatLng(sw.latitude(), ne.longitude())
|
|
135
|
-
)
|
|
136
|
-
for (latLng in latLngs) {
|
|
137
|
-
array.pushArray(fromLatLng(latLng))
|
|
138
|
-
}
|
|
130
|
+
|
|
131
|
+
array.pushArray(fromLatLng(LatLng(ne.latitude(), ne.longitude())));
|
|
132
|
+
array.pushArray(fromLatLng(LatLng(sw.latitude(), sw.longitude())));
|
|
139
133
|
return array
|
|
140
134
|
}
|
|
141
135
|
|