POST
|
I'm wondering if there is an ArcGIS Online app that will do a couple of things: 1. I want to display a map with several layers on it that can be turned on and off individually. 2. I want to be able to use links from another webpage to zoom to a feature on the map, so it would have to accept a URL parameter and perform the zoom, and then highlight the feature that it zoomed to. 3. Ability to do a simple address search. Is there a template that does all of that, or one that almost does all of that? I started looking through but there are so many templates and they don't necessarily say up front what the capabilities are (ie whether they can do a URL parameter zoom, etc.) Thanks, Jackson Trappett
... View more
11-19-2014
02:27 PM
|
0
|
2
|
3752
|
POST
|
I was just trying to figure out how to do that actually - when I click on Actions - I only get the option to report abuse...
... View more
11-05-2014
02:34 PM
|
0
|
1
|
251
|
POST
|
Robert - I gave that a shot and it seems to have fixed the issue. Did Adobe change something about the MIME type at 15? Can you explain to me why this fixes the problem? Thanks!
... View more
11-05-2014
02:13 PM
|
0
|
5
|
1313
|
POST
|
Robert - my flex viewer is built on Adobe Flex 4.6.0 and agslib 3.2. Is yours built on newer versions? Could this be causing the issue?
... View more
11-05-2014
01:54 PM
|
0
|
8
|
1313
|
POST
|
I am seeing the same thing on some machines here Jeff. Here's what I've narrowed down so far: Windows 7 Machines with Firefox, Chrome, or IE all work fine if the flash player version is 14.x. Windows 7 Machines with Firefox and IE stop working and give error 2032 when flash player is updated to version 15.0.0.189. Windows 7 Machines with Chrome continue to work even after flash player is updated to 15.0.0.189. Mac Yosemite Machines with Chrome, Firefox and Safari all work fine if flash player version is 14.x. Mac Yosemite Machines with Firefox and Safari stop working and give error 2032 when flash player is updated to 15.0.0.189. Mac Yosemite Machines with Chrome continue to work even after flash player is updated to 15.0.0.189.
... View more
11-05-2014
01:31 PM
|
1
|
10
|
1313
|
POST
|
This problem has mysteriously gone away for all of our Chrome browsers and everything is working fine again. I haven't been able to figure out why it showed up in the first place, nor what fixed it.
... View more
10-20-2014
02:09 PM
|
0
|
1
|
529
|
POST
|
We are seeing the same thing on several of our computers. The ctrl work-around does work for us. Chrome Version 37.0.2062.103 m Adobe version 14.0.0.177 Windows 7 64bit SP1 I have the debug version of Adobe: 4.0.0.125 (debug version) with the same chrome and windows versions, and I have not been able to replicate the issue on my machine. Jackson Trappett
... View more
09-08-2014
11:16 AM
|
0
|
2
|
529
|
POST
|
Working with ESRI we found that turning off background processing and using the foreground method it worked fine. There is a 64 bit geoprocessing sp1 available but I have not installed it yet. This worked for me too - thanks!
... View more
06-03-2014
09:06 AM
|
0
|
0
|
1100
|
POST
|
Try changing the identify parameter's layerOption to AGSIdentifyParametersLayerOptionVisible. Regards, Nimesh Thanks for the reply! I gave that a try, switched one, and then both of them to AGSIdentifyParametersLayerOptionVisible, but it didn't make any difference in my results. The first identify always works at any zoom level as long as I pick on a layer that is on. The second only works if I am zoomed all the way in OR only shows up after I zoom all the way in. I also tried changing the second identify task to AGSIdentifyParametersLayerOptionAll, which seemed to fix the problem. I will do some more testing to verify this, but I think that will work with my workflow. Thanks, Jackson
... View more
11-08-2013
06:23 AM
|
0
|
0
|
341
|
POST
|
I have a strange issue. I am using SDK 7.0 and 10.1.1 Update 2. This same issue was present before I moved to 7.0, back on 6 as well however. I have code that does an identify on a dynamic service layer. When the results are returned, if they are empty, then it automatically does a new identify on another dynamic service layer. This workflow is so that if there is something turned on in the top layer, the Identify will return from that layer, but if there wasn't something in that service where the user picked, then it will move down to the next layer and return results from there. This is working just fine, but only if I'm zoomed all the way in to the map. The original identify works no matter what my zoom level is, but the second identify only seems to work if I'm zoomed in all the way. Also, if I pick while zoomed out, and the second identify fires, then I zoom in, the popup will show up once I zoom all the way in, and it will stay if I zoom back out. Here's the code (I left out parts that don't seem important): @synthesize identifyTask = _identifyTask,identifyParams=_identifyParams; @synthesize identifyTaskBase = _identifyTaskBase,identifyParamsBase=_identifyParamsBase; - (void)viewDidLoad { [super viewDidLoad]; self.mapView.touchDelegate = self; self.mapView.calloutDelegate = self; self.mapView.callout.delegate = self; ... self.identifyTask = [AGSIdentifyTask identifyTaskWithURL:[NSURL URLWithString:@"http://****/ArcGIS/rest/services/CityMap/MapServer"]]; self.identifyTask.delegate = self; self.identifyParams = [[AGSIdentifyParameters alloc] init]; self.identifyTaskBase = [AGSIdentifyTask identifyTaskWithURL:[NSURL URLWithString:@"http://****/arcgis/rest/services/BaseMap/GJMAP/MapServer"]]; self.identifyTaskBase.delegate = self; self.identifyParamsBase = [[AGSIdentifyParameters alloc] init]; ... } - (void)mapView:(AGSMapView *)mapView didClickAtPoint:(CGPoint)screen mapPoint:(AGSPoint *)mappoint graphics:(NSDictionary *)graphics { self.mappoint = mappoint; NSMutableArray *layerIDs = [NSMutableArray array]; for (AGSLayer *layer in self.mapView.mapLayers) { if([layer isKindOfClass:[AGSDynamicMapServiceLayer class]]) { AGSDynamicMapServiceLayer *tempLayer = (AGSDynamicMapServiceLayer *)layer; layerIDs = [tempLayer.visibleLayers mutableCopy]; } } self.identifyParams.layerIds = layerIDs; self.identifyParams.tolerance = 8; self.identifyParams.geometry = self.mappoint; self.identifyParams.size = self.mapView.bounds.size; self.identifyParams.mapEnvelope = self.mapView.visibleArea.envelope; self.identifyParams.returnGeometry = YES; self.identifyParams.layerOption = AGSIdentifyParametersLayerOptionTop; self.identifyParams.spatialReference = self.mapView.spatialReference; [self.identifyTask executeWithParameters:self.identifyParams]; } - (void)identifyTask:(AGSIdentifyTask *)identifyTask operation:(NSOperation *)op didExecuteWithIdentifyResults:(NSArray *)results { [self.graphicsLayer removeAllGraphics]; if ([results count] > 0) { AGSSymbol* symbol = [AGSSimpleFillSymbol simpleFillSymbol]; symbol.color = [UIColor colorWithRed:0 green:0 blue:1 alpha:0.5]; for (AGSIdentifyResult* result in results) { result.feature.symbol = symbol; [self.graphicsLayer addGraphic:result.feature]; } NSString *layerName = [((AGSIdentifyResult*)[results objectAtIndex:0]) layerName]; self.mapView.callout.title = layerName; self.mapView.callout.detail = @"Click for more detail.."; [self.mapView.callout showCalloutAtPoint:self.mappoint forGraphic:((AGSIdentifyResult*)[results objectAtIndex:0]).feature animated:YES]; } else { //do another identify on base layer (parcels etc) self.identifyParamsBase.layerIds = @[@36,@37,@38,@39]; self.identifyParamsBase.tolerance = 8; self.identifyParamsBase.geometry = self.mappoint; self.identifyParamsBase.size = self.mapView.bounds.size; self.identifyParamsBase.mapEnvelope = self.mapView.visibleArea.envelope; self.identifyParamsBase.returnGeometry = YES; self.identifyParamsBase.layerOption = AGSIdentifyParametersLayerOptionTop; self.identifyParamsBase.spatialReference = self.mapView.spatialReference; //execute the task [self.identifyTaskBase executeWithParameters:self.identifyParamsBase]; } } - (void)identifyTaskBase:(AGSIdentifyTask *)identifyTaskBase operation:(NSOperation *)op didExecuteWithIdentifyResults:(NSArray *)results { [self.graphicsLayer removeAllGraphics]; if ([results count] > 0) { AGSSymbol* symbol = [AGSSimpleFillSymbol simpleFillSymbol]; symbol.color = [UIColor colorWithRed:0 green:0 blue:1 alpha:0.5]; for (AGSIdentifyResult* result in results) { result.feature.symbol = symbol; [self.graphicsLayer addGraphic:result.feature]; } NSString *layerName = [((AGSIdentifyResult*)[results objectAtIndex:0]) layerName]; self.mapView.callout.title = layerName; self.mapView.callout.detail = @"Click for more detail.."; [self.mapView.callout showCalloutAtPoint:self.mappoint forGraphic:((AGSIdentifyResult*)[results objectAtIndex:0]).feature animated:YES]; } } Does anyone see anything directly wrong with this code? What is baffling me is that it works fine if I am zoomed all the way in, but doesn't display properly otherwise. Also the fact that if there is a layer turned on for the first identify to hit, that works at any zoom level, and it is set up the exact same way. Thanks for any tips or help! Jackson
... View more
10-14-2013
02:54 PM
|
0
|
3
|
2449
|
POST
|
Hi - I downloaded the new version of the identify task demo for 10.1.1 from the samples, but the new one doesn't want to compile. I am getting two errors: Semantic Issue - Property 'attributes' not found on object of type 'AGSGraphic *' and two warnings: Semantic Issue - 'AGSMapView' may not respond to 'showCalloutAtPointforGraphic:animated:' Is this a problem with the sample itself, or a problem with my machine? I have 10.1.1 SDK installed and I can compile some of the other samples just fine. Thanks for any help!
... View more
02-21-2013
11:51 AM
|
0
|
0
|
299
|
POST
|
Thanks for the links, those are perfect. (I was looking under the Find and Identify samples).
... View more
09-28-2012
09:35 AM
|
0
|
0
|
302
|
Title | Kudos | Posted |
---|---|---|
2 | 07-25-2019 03:22 PM | |
1 | 09-15-2023 03:06 PM | |
1 | 09-05-2017 10:36 AM | |
2 | 08-08-2018 01:38 PM | |
4 | 12-19-2019 03:07 PM |
Online Status |
Offline
|
Date Last Visited |
09-15-2023
11:08 PM
|