Skip to content

Commit

Permalink
Merge pull request #51 from disarticulate/patch-1
Browse files Browse the repository at this point in the history
Bypassses #40
  • Loading branch information
jwass authored Mar 18, 2018
2 parents 6f09451 + 33ba428 commit a83d7b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mplleaflet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def iter_rings(data, pathcodes):
if len(ring):
yield ring
ring = [point]
elif code == 'L':
elif code == 'L' or code == 'Z' or code == 'S':
ring.append(point)
else:
raise ValueError('Unrecognized code: {}'.format(code))
Expand Down

0 comments on commit a83d7b6

Please sign in to comment.