Thread: [SailfishOS] Pure Maps
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#879
Originally Posted by spag View Post
I guess I will have to postpone it until I find some more time.
It looks like copying the stadia router as a base to start from does not work as easily as I've hoped.

Looks like the routers don't like to be run from /home/nemo/.local/share/harbour-pure-maps/routers because of relative path names or so.

Code:
[W] unknown:483 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:483: Error: Error while loading page: file:///home/nemo/.local/share/harbour-pure-maps/routers/here_results.qml:20 "../qml": no such directory
Changing the includes to a full path was not sucessful either:

Code:
[W] unknown:483 - file:///usr/lib/qt5/qml/Sailfish/Silica/PageStack.js:483: Error: Error while loading page: file:///home/nemo/.local/share/harbour-pure-maps/routers/here_results.qml:20 import "/usr/share/harbour-pure-maps/qml" has no qmldir and no namespace
No worries. You can submit WIP PR and I will look into what went wrong. I should be able to push into your PR branch as well, so we can fix it together before merging with the master
 

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