Don't understand BaseRegion & more #29
-
Looking for some help with downloading offline maps and in particular how to create a So my issue is that when I go to create a
So how am I supposed to create a I'm certain this is just me not understanding what's going on but I feel like I'm in a chicken or the egg type situation. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 26 replies
-
Hi there, and thanks for your question! Below I have written an answer based on what I think your question is: there's a high possibility that I've misunderstood you though, so please don't hesitate to correct me if I'm wrong :)
To resolve your issue, you'll need to use one of I think the probable reason you got stuck here is because the documentation for this library makes it hard to setup. I am gradually working on this for the next update. The major thing about v4 for you though, is that I hope you found this easy enough to understand, and I hope it resolved your issue! |
Beta Was this translation helpful? Give feedback.
-
I tried downloading tiles again with I tried with
Regarding the path that worries you with the '?'. Is that because you're just saving the tile with same name as the network call made to retrieve it? If so, that is probably not ideal if avoidable because that means the secret access token is stored in every single tile name. I'm not sure how the tiles need to be named for getting retrieved though so ignore that concern if it's required or not viewable by other apps.
Firstly, thanks for the reminder about downloading tiles! I totally wasn't thinking about the cost so I'm sure my company wouldn't want me racking up tile download costs! lol. Maybe it's a bug or maybe I'm downloading things incorrectly. I actually download each area at the same time so I'm going to do another round of tests where I only download a single large-ish area to see if that makes a difference.
I haven't tried this but in the last two rounds of testing I haven't been using a store at all because the issue is present regardless. Seems like downloading tiles in bulk is messing things up (at least while saving them to the same main |
Beta Was this translation helpful? Give feedback.
Hi there, and thanks for your question! Below I have written an answer based on what I think your question is: there's a high possibility that I've misunderstood you though, so please don't hesitate to correct me if I'm wrong :)
BaseRegion
is an abstract class that defines the 'conversion' functions for all regions - you should never need to construct this yourself.DownloadableRegion
contains aBaseRegion
and other information needed for downloading. I think you got this part: the part I don't think you got (for reasons I'll explain later) is that you should never need to constructDownloadableRegion
yourself either.To resolve your issue, you'll need to use one of
RectangleRegion
,Circl…