How do I load a vtpk file as a base map?
When I do it like this, the App loads the whole vector map in to memory -> crash !
self.vectorTiledLayer = [[AGSArcGISVectorTiledLayer alloc] initWithName:@...];
[self.vectorTiledLayer loadWithCompletion:^(NSError * _Nullable error) {
if (error){
NSLog(@Error: %@", error);
}
weakSelf.arcGISMap.map = [AGSMap mapWithBasemap:[[AGSBasemap alloc] initWithBaseLayer: self.vectorTiledLayer]];
}];