Releases: rinigus/mapbox-gl-qml
Releases · rinigus/mapbox-gl-qml
3.0.0
2.1.1
2.1.0
2.0.1
2.0.0
Change of the backend
This release switches over to Maplibre GL Native, developed community fork of Mapbox GL Native.
Rendering improvements
For platforms that scale applications on HiDPI environment, the rendering is performed using native resolution. In addition to use of framebuffer object for rendering (default), it is also possible to render through direct OpenGL commands (requires Qt 5.8 or newer).
API extensions
- Add support for SVG images. See
addImagePath
for SVG rendering support - Add property
metersPerMapPixel
to assist object rendering on map in HiDPI case. Use this property to convert map style pixel values to meters on the map. - Add property
mapToQtPixelRatio
to assist object rendering on map in HiDPI case. Use this property to relate map and Qt logical pixels when wishing to render on a map some items that should have similar sizes to Qt elements. For example, adding icons to the map. - Add property
devicePixelRatio
for HiDPI support (determined automatically on construction). - Allow to switch over rendering through direct OpenGL commands
Introduced API extensions are targeting HiDPI case. It is recommended to use metersPerMapPixel
and mapToQtPixelRatio
when interacting with the map style and adding objects to the map. It is recommended to avoid using pixelRatio
for those operations. See API documentation for details.
1.7.7
1.7.6
1.7.5
1.7.0
1.6.0
- Switch to Mapbox GL Native as distributed in https://github.com/mapbox/mapbox-gl-native