Skip to content

Commit

Permalink
modDownloadDS.vb -- series of changes to enable grids in DotSpatial f…
Browse files Browse the repository at this point in the history
…or hydro toolbox
  • Loading branch information
PaulDudaRESPEC committed Sep 12, 2024
1 parent c586f7a commit e93007b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions BASINS/modDownloadDS.vb
Original file line number Diff line number Diff line change
Expand Up @@ -2201,6 +2201,14 @@ StartOver:
lLegItem.LegendItemVisible = False
End If
Next
Dim lIndex As Integer = 0
Do Until lIndex > lLegItems.Count - 1
If lLegItems(lIndex).LegendItemVisible = False Then
lLegItems.RemoveAt(lIndex)
Else
lIndex += 1
End If
Loop
End Sub

'Private Sub SetLandUseColors(ByVal MWlay As MapWindow.Interfaces.Layer, ByVal shpFile As MapWinGIS.Shapefile)
Expand Down

0 comments on commit e93007b

Please sign in to comment.