You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When mapping MB GL JS to QGIS styles (#87) there seems to be a glitch regarding pixels values. If these pixel values are mapped 1:1 to QGIS pixels, the resulting graphic size in QGIS seems to be much larger.
sfkeller
changed the title
MB GL JS pixels do no correspond to QGIS and other pixels
MB GL JS pixels do not correspond to QGIS and other pixels
Nov 20, 2017
When mapping MB GL JS to QGIS styles (#87) there seems to be a glitch regarding pixels values. If these pixel values are mapped 1:1 to QGIS pixels, the resulting graphic size in QGIS seems to be much larger.
The MB GL JS spec speaks of "Units in pixels", e.g. line-width (https://www.mapbox.com/mapbox-gl-js/style-spec/#layers-line ). Now, there is evidence that this is a special kind of pixel units....
Perhaps this could help? https://gis.stackexchange.com/questions/259407/style-line-width-proportionally-to-maintain-relative-size-in-mapbox-gl
Else I'd suggest to open an issue in https://github.com/mapbox/mapbox-gl-js/issues .
The text was updated successfully, but these errors were encountered: