Skip to content

Commit

Permalink
Issue #139: add icons for styled areas.
Browse files Browse the repository at this point in the history
Map Machine did not create icons for areas if they have style.  Just
like previous issue, it seems like a temporary solution for a problem I
can't remember now.
  • Loading branch information
enzet committed Aug 14, 2022
1 parent 24851f7 commit 470feb4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions map_machine/constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,8 @@ def construct_line(
)
self.points.append(point)

if line_styles:
return

# TODO: probably we may want to skip the next part if `line_styles`
# are not empty.
self.add_point_for_line(center_point, inners, line, outers)

def add_point_for_line(self, center_point, inners, line, outers) -> None:
Expand Down

0 comments on commit 470feb4

Please sign in to comment.