你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
马克玲
赞同来自:
NSString *thePathString = [[NSBundle mainBundle] resourcePath]; NSString *path = [thePathString stringByAppendingPathComponent:@testdata.geodatabase]; NSLog(@%@,thePathString); AGSGDBGeodatabase *gdb = [[AGSGDBGeodatabase alloc] initWithPath:path error:nil]; self.localFeatureTable = [[gdb featureTables] objectAtIndex:0]; self.localFeatureTableLayer = [[AGSFeatureTableLayer alloc] initWithFeatureTable:self.localFeatureTable]; self.localFeatureTableLayer.delegate = self; [self.mapView addMapLayer:self.localFeatureTableLayer withName:@offline Feature Layer];
要回复问题请先登录或注册
1 个回复
马克玲
赞同来自:
访问离线geodatabase 地图包的示例代码:
要回复问题请先登录或注册