Skip to content

Commit

Permalink
Issue 308. Increase Z index of polygon path
Browse files Browse the repository at this point in the history
  • Loading branch information
nap2000 committed Dec 21, 2016
1 parent ba976db commit bc81d52
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public void onCreate(Bundle savedInstanceState) {
mMap.getUiSettings().setZoomControlsEnabled(false);
polygonOptions = new PolygonOptions();
polygonOptions.strokeColor(Color.RED);
polygonOptions.zIndex(1);

List<String> providers = mLocationManager.getProviders(true);
for (String provider : providers) {
Expand Down Expand Up @@ -419,6 +420,7 @@ private void clearFeatures() {
polygon = null;
polygonOptions = new PolygonOptions();
polygonOptions.strokeColor(Color.RED);
polygonOptions.zIndex(1);
markerArray.clear();
mMap.setOnMapLongClickListener(this);

Expand Down

0 comments on commit bc81d52

Please sign in to comment.