Skip to content

Commit

Permalink
Enable ZIndex for polygon and circles
Browse files Browse the repository at this point in the history
  • Loading branch information
amay077 committed Jul 24, 2017
1 parent b79bc4d commit d884a27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions XFGoogleMapSample/XFGoogleMapSample/Shapes2Page.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ public Shapes2Page()
{
var i = pickerZIndex.SelectedIndex;
map.Polylines[i].ZIndex = map.Polylines.Max(p => p.ZIndex) + 1;
map.Polygons[i].ZIndex = map.Polygons.Max(p => p.ZIndex) + 1;
map.Circles[i].ZIndex = map.Circles.Max(p => p.ZIndex) + 1;
};
pickerZIndex.SelectedIndex = 0;

Expand Down

0 comments on commit d884a27

Please sign in to comment.