|
POST
|
Yes, v2.0 of ArcGIS app supports it. Regards, Nimesh
... View more
07-28-2011
08:48 AM
|
0
|
0
|
539
|
|
POST
|
That was an issue at v1.8 but fixed in v2.0. You can test it and decide whether to upgrade or not. IMHO, there is no risk in upgrading to v2.0. It has additional feature called popups, bug fixes and performance improvement in Graphics/Feature layer. Regards, Nimesh
... View more
07-28-2011
08:03 AM
|
0
|
0
|
981
|
|
POST
|
Chris, You should symbolize your polygon graphics in AGSGraphicsLayer with AGSCompositeSymbol which has AGSSimpleFillSymbol and AGSTextSymbol. Regards, Nimesh
... View more
07-27-2011
08:59 AM
|
0
|
0
|
616
|
|
POST
|
Rene, 1. Which version of the API are you using? v1.8 or v2.0? 2. Is HTTP authentication Basic or Digest? 3. Is SSL enabled on the server? Regards, Nimesh
... View more
07-27-2011
08:41 AM
|
0
|
0
|
981
|
|
POST
|
Rick, Glad to know that it works for you now. 🙂 Not sure why the grid lines coming in the image. Chris, You're welcome 🙂 Regards, Nimesh
... View more
07-22-2011
01:03 PM
|
0
|
0
|
1468
|
|
POST
|
Looks like you're testing in Simulator. Try testing on device. The layer property of mapView is inherited property of UIView. Send your project if you're unable to get it to work. Regards, Nimesh
... View more
07-20-2011
08:43 AM
|
0
|
0
|
1468
|
|
POST
|
Rick, There is no direct function in ArcGIS API for iOS to export image of mapView. You need to use iOS SDK to do so. It's very simple. Here is the code... - (IBAction)exportMapViewImage:(id)sender {
//export image of mapView
UIGraphicsBeginImageContext(self.mapView.frame.size);
[self.mapView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *screenshot = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();
//save image to photo album
UIImageWriteToSavedPhotosAlbum(screenshot,self,@selector(image:didFinishSavingWithError:contextInfo:),nil);
}
- (void)image:(UIImage *)image didFinishSavingWithError:(NSError *)error contextInfo:(void *)contextInfo
{
// Was there an error?
if (error != NULL)
{
// Show error message...
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error"
message:[error localizedDescription]
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
[alert release];
}
else // No errors
{
// Show message image successfully saved
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Image Saved"
message:@"Image saved to photo album successfully!"
delegate:nil
cancelButtonTitle:@"OK"
otherButtonTitles:nil];
[alert show];
[alert release];
}
}
Regards, Nimesh
... View more
07-19-2011
11:43 AM
|
0
|
0
|
1468
|
|
POST
|
Marco, Thank you for reporting. We'll look into it. Appreciate, if you can attach a sample app demonstrating the issue. Thank you! Regards, Nimesh
... View more
07-13-2011
08:58 AM
|
0
|
0
|
772
|
|
POST
|
Yes, the new version of API supports opening a webmap from ArcGIS.com. Nelson, Please provide detail information about the problem you came across so we can look into it. Thank you. Regards, Nimesh
... View more
07-13-2011
08:55 AM
|
0
|
0
|
338
|
|
POST
|
Yes, it is safe to upgrade to 2.0. 🙂 Since, you are showing a callout with showCalloutAtPoint, you should check the delegate method didClickCalloutAccessoryButtonAtPoint: and NOT didClickCalloutAccessoryButtonForGraphic. Regards, Nimesh
... View more
07-13-2011
08:46 AM
|
0
|
0
|
521
|
|
POST
|
Miri, The feature layer works with different modes and the sample uses OnDemand mode. The default bufferFactor is 2. It means that new features won't be retrieved until you pan/zoom 2 times of the current extent. Based on your requirement, change bufferFactor to 0 and do little pan/zoom and you'll be able to see the newly added feature. Hope this helps! Regards, Nimesh
... View more
07-08-2011
04:17 PM
|
0
|
0
|
359
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-18-2024 12:33 PM | |
| 1 | 03-12-2024 08:54 AM | |
| 1 | 09-28-2023 08:19 AM | |
| 2 | 07-28-2023 08:07 AM | |
| 1 | 06-27-2013 10:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-26-2025
07:28 AM
|