Skip to content

Commit

Permalink
Change to address issue NINAnor#22 (also includes patch for issue NIN…
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismuller authored Feb 27, 2022
1 parent 7d7b531 commit 6bb5105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GarminCustomMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,9 @@ def projWaring():
width = mapSettings.outputSize().width() * zoom
height = mapSettings.outputSize().height() * zoom
mapSettings.setOutputSize(QSize(width, height))
mapSettings.setOutputDpi(target_dpi)
# mapSettings.setOutputDpi(target_dpi)
mapSettings.setExtent(mapRect)
mapSettings.setFlags(QgsMapSettings.Antialiasing | QgsMapSettings.UseAdvancedEffects | QgsMapSettings.ForceVectorOutput | QgsMapSettings.DrawLabeling)
mapSettings.setFlags(QgsMapSettings.Flags(QgsMapSettings.Antialiasing | QgsMapSettings.UseAdvancedEffects | QgsMapSettings.ForceVectorOutput | QgsMapSettings.DrawLabeling))

# create output image and initialize it
image = QImage(QSize(width, height), QImage.Format_RGB555)
Expand Down

0 comments on commit 6bb5105

Please sign in to comment.