POST
|
Thank you zborowskib, I want to remove the SOE because they duplicated. First I remove them from extensions page but they have not been removed. Then I try to remove node in <Server_home>/bin/ServerTypesExt.dat file, as you suggest, those SOEs have gone. The nodes that I deleted, (2 nodes <ExtensionType file="PCHprintSOE.soe">) <ExtensionType file="PCHprintSOE.soe"> <Name>PCHPrintSOEv101</Name> <DisplayName>PCHPrintSOEv101</DisplayName> <CLSID>lu.etat.pch.gis.soe.print.PCHPrintSOEv101</CLSID> <Description>PCHPrintSOE for 10.1</Description> <MaxUploadFileSize>-1</MaxUploadFileSize> <AllowedUploadFileTypes/> <Properties/> <Info> <SupportsREST>true</SupportsREST> <hasManagerPropertiesConfigurationPane>false</hasManagerPropertiesConfigurationPane> <SupportsSOAP>false</SupportsSOAP> <AllWebCapabilities/> <DefaultWebCapabilities/> </Info> <Resources> <WSDL/> </Resources> </ExtensionType> <ExtensionType file="PCHprintSOE.soe"> <Name>VirtualDirSOE</Name> <DisplayName>VirtualDirSOE</DisplayName> <CLSID>lu.etat.pch.gis.soe.VirtualDirSOE</CLSID> <Description>VirtualDirSOE for 10.1</Description> <MaxUploadFileSize>-1</MaxUploadFileSize> <AllowedUploadFileTypes/> <Properties/> <Info> <SupportsREST>true</SupportsREST> <hasManagerPropertiesConfigurationPane>false</hasManagerPropertiesConfigurationPane> <SupportsSOAP>false</SupportsSOAP> <AllWebCapabilities/> <DefaultWebCapabilities/> </Info> <Resources> <WSDL/> </Resources> </ExtensionType>
... View more
12-05-2012
11:12 PM
|
0
|
0
|
305
|
POST
|
You may assign any identity value of graphic attribute, may be objectid, to UITableViewCell.tag. So when tap calloutaccessorybutton, you get that attribute of graphic then use viewWithtag: to get the cell for hilight.
... View more
11-30-2011
12:24 AM
|
0
|
0
|
177
|
POST
|
Just return UIView.This is a sample in my iPad app. -(UIView *)customViewForGraphic:(AGSGraphic *)graphic screenPoint:(CGPoint)screen mapPoint:(AGSPoint *)mapPoint{ if ([graphic.layer.name isEqualToString:@"spb_amphor_sm1"]) { NSArray *ampInfo = [NSArray arrayWithObjects:[graphic.attributes objectForKey:colCTLSUM],[graphic.attributes objectForKey:colCOWSUM],[graphic.attributes objectForKey:colBUFSUM],[graphic.attributes objectForKey:colPIGSUM],[graphic.attributes objectForKey:colCHCSUM],[graphic.attributes objectForKey:colDCKSUM],[graphic.attributes objectForKey:colGOASUM],[graphic.attributes objectForKey:colSHPSUM],[graphic.attributes objectForKey:colOTHSUM], nil]; UIView *oldView = [self.view viewWithTag:102]; if (oldView != nil) { [oldView removeFromSuperview]; } if (infoType == 0) { AGSPopupsContainerViewController *popView = [[AGSPopupsContainerViewController alloc] initWithPopupInfo:[self.webmap popupInfoForFeatureLayer:graphic.layer] graphic:graphic usingNavigationControllerStack:NO]; popView.delegate = self; return popView.view; } else if (infoType == 1) { BarAnimal *info = [[BarAnimal alloc] initWithNibName:@"ChartSample" bundle:nil]; [info DataBind:ampInfo]; info.title = [graphic.attributes objectForKey:colAmpnamethai]; [info.view setFrame:CGRectMake(0, 0, 420, 260)]; return info.view; } else { ChartSample *info = [[ChartSample alloc] initWithNibName:@"ChartSample" bundle:nil]; [info DataBind:ampInfo]; info.title = [graphic.attributes objectForKey:colAmpnamethai]; [info.view setFrame:CGRectMake(0, 0, 280, 280)]; return info.view; } } else { AGSPopupsContainerViewController *popView = [[AGSPopupsContainerViewController alloc] initWithPopupInfo:[self.webmap popupInfoForFeatureLayer:graphic.layer] graphic:graphic usingNavigationControllerStack:NO]; popView.delegate = self; return popView.view; } }
... View more
11-29-2011
11:14 PM
|
0
|
0
|
435
|
POST
|
I modify TOC from legend sample. I keep ref of agslayerview for manage visible while agsmapview:didloadlayerforlayerview (AGSMapViewLayerDelegate). The addTOCForLayerView is just add layerView to NSMutableArray. - (void) mapView:(AGSMapView*) mapView didLoadLayerForLayerView:(UIView<AGSLayerView>*) layerView { [self.legendDataSource addTOCForLayerView:layerView]; } I set visible of layer like this. Or just set layer.hidden = YES or NO. -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{ if (indexPath.section == 0) { UIView<AGSLayerView>* layer = [self.legendDataSource.tocView objectAtIndex:indexPath.row]; layer.hidden = !layer.hidden; UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; if (layer.hidden) { cell.accessoryType = UITableViewCellAccessoryNone; } else { cell.accessoryType = UITableViewCellAccessoryCheckmark; } } } Hope this help.
... View more
11-29-2011
10:50 PM
|
0
|
0
|
347
|
POST
|
see attachment. this is single polyline. I also try on Default Editor sample, it draw correctly.
... View more
05-22-2011
07:46 PM
|
0
|
0
|
535
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|