From bc81d52b573a26ee9c91cd4f4acd49d8bdaa4d5a Mon Sep 17 00:00:00 2001 From: Neil Penman Date: Wed, 21 Dec 2016 16:52:02 +1100 Subject: [PATCH] Issue 308. Increase Z index of polygon path --- .../collect/android/activities/GeoShapeGoogleMapActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/collect_app/src/main/java/org/odk/collect/android/activities/GeoShapeGoogleMapActivity.java b/collect_app/src/main/java/org/odk/collect/android/activities/GeoShapeGoogleMapActivity.java index 22260420b88..63cfc5725ea 100644 --- a/collect_app/src/main/java/org/odk/collect/android/activities/GeoShapeGoogleMapActivity.java +++ b/collect_app/src/main/java/org/odk/collect/android/activities/GeoShapeGoogleMapActivity.java @@ -114,6 +114,7 @@ public void onCreate(Bundle savedInstanceState) { mMap.getUiSettings().setZoomControlsEnabled(false); polygonOptions = new PolygonOptions(); polygonOptions.strokeColor(Color.RED); + polygonOptions.zIndex(1); List providers = mLocationManager.getProviders(true); for (String provider : providers) { @@ -419,6 +420,7 @@ private void clearFeatures() { polygon = null; polygonOptions = new PolygonOptions(); polygonOptions.strokeColor(Color.RED); + polygonOptions.zIndex(1); markerArray.clear(); mMap.setOnMapLongClickListener(this);