Thread: [SailfishOS] Mapbox GL Native QML plugin
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#52
Originally Posted by jdrescher View Post
@rinigus is there a way to refresh the map after the style was changed?
You shouldn't need to do anything, just specify new style with styleJson or styleUrl and it should update itself automatically. Same goes for new layers, data, ...

For example, see https://github.com/rinigus/poor-maps...l/Map.qml#L654

If it doesn't work, please show example.
 

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