Implementing this, directory create error and such. #87
-
I feel its been quite a hasstle to make this work, but im getting far now. I created a function in my main.dart file `Future main() async { SystemChrome.setPreferredOrientations( works fine, then in my map_control.dart file i have my map code (map and so on loads without issues)
In this i have two issues:
So it seems it dont create a folder to store the tiles in. second issue is, it saves the apikey as part of the image file name, im not really interested in this, is it possible to remove that? (it would not be required to have the api key i guess, to load the cache image), everything after ? should be removed and not checked on store/get the cache tile. Any help with these two issues is appricated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 40 replies
-
Hi @iBuaSpaz, Please migrate to v7, that should help solve the issues. Please let me know if you need help migrating! |
Beta Was this translation helpful? Give feedback.
Hi @iBuaSpaz,
Please migrate to v7, that should help solve the issues.
In terms of the query parameter (everything after '?' in the URL), in v7 it is more hidden inside the database, but can still be read. Unfortunatley, this is necessary to keep - some tile servers have the coordinates there, which make the URL unique. This uniqueness is how the algorithm locates the cached tile, it uses the exact URL and tries to locate it in the database.
Please let me know if you need help migrating!
Additionally, please let me know if you're using FMTC within a proprietary or open source application.