Skip to content

Commit

Permalink
Fixed coastlines issue in map
Browse files Browse the repository at this point in the history
  • Loading branch information
wblumberg committed Sep 13, 2019
1 parent ca07012 commit c6ac43a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sharppy/viz/map.py
Expand Up @@ -521,7 +521,7 @@ def drawPolitical(self, qp):
if self.transform.mapRect(sp.boundingRect()).intersects(window_rect):
qp.drawPath(sp)

qp.setPen(QtGui.QPen(QtCore.Qt.white))
qp.setPen(QtGui.QPen(QtCore.Qt.white, self.scale))
for cp in self._coast_path:
if self.transform.mapRect(cp.boundingRect()).intersects(window_rect):
qp.drawPath(cp)
Expand Down

0 comments on commit c6ac43a

Please sign in to comment.