diff --git a/iNaturalist/src/main/java/org/inaturalist/android/MissionDetails.java b/iNaturalist/src/main/java/org/inaturalist/android/MissionDetails.java index ebd84c9c9..af0797ef9 100644 --- a/iNaturalist/src/main/java/org/inaturalist/android/MissionDetails.java +++ b/iNaturalist/src/main/java/org/inaturalist/android/MissionDetails.java @@ -371,8 +371,14 @@ public Bitmap onPreSetBitmap(ImageView imageView, Bitmap loadedBitmap, String ur public void onMapClick(LatLng latLng) { // Show the map screen Intent intent = new Intent(MissionDetails.this, MissionDetailsMapActivity.class); - JSONArray arr = new JSONArray(mObservations); - intent.putExtra(MissionDetailsMapActivity.OBSERVATIONS, arr.toString()); + + JSONArray minimizedObservations = new JSONArray(); + for (int i = 0; i < mObservations.size(); i++) { + JSONObject item = mObservations.get(i); + minimizedObservations.put(ObservationUtils.getMinimalObservation(item)); + } + + intent.putExtra(MissionDetailsMapActivity.OBSERVATIONS, minimizedObservations.toString()); startActivity(intent); } });