@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
- val latLngs = arrayOf(
131
- LatLng(ne.latitude(), ne.longitude()),
132
- LatLng(ne.latitude(), sw.longitude()),
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
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rnmapbox/maps",
3
3
  "description": "A Mapbox react native module for creating custom maps",
4
- "version": "10.0.0-beta.37",
4
+ "version": "10.0.0-beta.38",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },