Open vquach2404 opened 3 years ago
Currently this filename is an empty string
The doc is a bit confusing, but I think there are 2 possibilities
set
instead of get
this property, i.e. let url = Bundle.main.url(forResource: "{path_to}/naperville_imagery", withExtension: "tpkx")
, then set the filename and directory accordingly, i.e. parameters.referenceBasemapFilename = url.lastPathComponent
parameters.referenceBasemapDirectory = url.deletingLastPathComponent()
The second idea gives me the result above, but I can not tell if it is expected. 😓
Do you think this bug is still worth fixing? If not, let's close all the remaining opened issues. 🙂
While updating the TPK for this sample, I found that the sample does not behave as expected. This sample should prompt the user to select either a local or online basemap. However, the sample currently does not prompt the user.