otsaloma / poor-maps

Maps and navigation for Sailfish OS
https://openrepos.net/content/otsaloma/poor-maps
GNU General Public License v3.0
43 stars 10 forks source link

Set the default basemap DPI to match the screen #52

Closed otsaloma closed 7 years ago

otsaloma commented 7 years ago

Add pixel_ratio argument to poor.main and use that to set conf.DEFAULTS.basemap and maybe basemap_filter before the config file is read. Supply the value from QML based on either Silica's Theme.pixelRatio or QML Screen's devicePixelRatio.