Thread: [SailfishOS] Mapbox GL Native QML plugin
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#102
New version (1.5.0.3) is out and it brings ability to perform run-time styling of the map. This version will be required by the upcoming Pure Maps (1.22.x) and is fully backwards compatible.

For 3.0.3.x and later, get the packages at OpenRepos. For 3.0.2.x and earlier, please use OBS http://repo.merproject.org/obs/home:...mv7hl/armv7hl/ .

It exposes changes in underlying style JSON induced by loading of the maps via style URL, a common way to load styles. As soon as style is downloaded from URL, styleJsonChanged is fired and you could process the loaded styles and update styleJson property of the widget. As a result, its easy to implement language changes, if the style support multiple languages.
 

The Following 9 Users Say Thank You to rinigus For This Useful Post: