ios - SKMapsVersioningDelegate Manage update with local maps.json file -
i'm writing app use skmaps , after question/answer :
i have passed local maps.json file, instead direct download each time app starts. i'm trying manage update process of map skmapsversioningdelegate.
-my first question is, mean update maps? delegation methods in standard implementation overwrite maps.json file new version if become available during use of app or delegation will'not update json file in app , update packages of map have downloaded offline use?
-if delegation works on or replace maps.json file , there's way simulate map update? in resource folder have json map file version set 20140910. anyway if log actual version :
skversioninformation *latestversion = availableversions[0]; nslog(@"actual version %@",latestversion.version);
i retrive version number 20141230. during process skmapsversioningdelegate never been called. skversioninformation search information?
please check 2.5 map update demo.
it should not matter if maps.json file stored locally or remote, it's version file decides if new maps available.
the update sdk detect new version file available , update it. once done have manually decide, each onboard map package, if want redownload or not.
the update api not automatically update local maps.json, you'll have manually. being said, updating onboard packages don't need reparse maps.json file need know name (identifier) - i.e. state of california be: usca. package identifiers don't change version version
Comments
Post a Comment