PDA

View Full Version : Alternative approach to choose offline packages for download



rosta
12.01.2016, 15:02
We would like to use skobbler map SDKs in our Android and IOS app and we have a special usecase for offline maps.
We have our own list of the world areas and we need to map our area list (cities, countries, regions, groups of countries ...) which is slightly different to list that is available in skobbler.

The idea is to store skobbler list of available offline packages in our database together with its mapping to our areas and build API endpoint that will provide our client app the mapping so that client app will know witch skobbler offline areas to download after the user chooses one of ours.

We got an URL that Android SDK calls to retreive list of skobbler areas (http://750fe5b2379a6db51a2eb2abbc693ae5.cache.sko.fm/ngxmaps/versioned/full/v1/20150413/Maps.json ), which can provide us data to do the mapping. I'm not sure if this approach is a good idea. Can we use skobbler API this way? How often there is a change in the list? Does the list differ in different versions of SDKs?

Would you recommend a different approach to solve our usecase?

mz87
16.01.2016, 13:58
As far as I noticed this file changes with each release, because maps get updated. So at least size of the map file will change.

How deep are you going to group map files? Like City+City or Country+Country? If Country+Country there shouldn't be any problems, because countries don't change so often these days .. But I guess new cities are added constantly.

Adela_Silvia
19.01.2016, 10:54
Under the standard tier we can create custom map cuts: if certain cities are not available out of the box and they can be easily integrated in the Maps.json file.

As for the existing packages, while new packages are always added from version to version, the IDs for the existing packages never change and no old packages are ever deleted. If you build any ID based mapping then this will be forward compatible (will not change with new versions).