mirror of
https://github.com/status-im/react-native-mapbox-gl.git
synced 2026-08-31 04:51:15 +00:00
Removed check for empty array of annotations (#333)
This commit is contained in:
committed by
Bobby Sudekum
parent
c2054da3c9
commit
81014003f1
+1
-1
@@ -118,7 +118,7 @@ public class ReactNativeMapboxGLManager extends SimpleViewManager<MapView> {
|
||||
}
|
||||
|
||||
public void setAnnotations(MapView view, @Nullable ReadableArray value, boolean clearMap) {
|
||||
if (value == null || value.size() < 1) {
|
||||
if (value == null) {
|
||||
Log.e(REACT_CLASS, "Error: No annotations");
|
||||
} else {
|
||||
if (clearMap) {
|
||||
|
||||
Reference in New Issue
Block a user