POST
|
Has this been this been fixed in the newest Runtime SDK? I'm currently having problems with Core Location in iOS 8 in my app. I've added the keys suggested and it still wont work.
... View more
09-21-2014
12:37 AM
|
0
|
1
|
564
|
POST
|
Hi I'm getting the same error... I'll link attach my zip file so you can test it
... View more
08-18-2014
01:20 AM
|
0
|
1
|
250
|
POST
|
Thank you so much Tom!!! it worked!! I'll attach my project here so that you can tweek it to show me where i went wrong in the larger code so i can learn from that. If that's ok with you?
... View more
08-14-2014
07:39 PM
|
0
|
3
|
502
|
POST
|
Thanks @Tom Bruns for your help here . I have been to these links before seeking help and have had no luck in solving my current problem I'm having here . I've been trying to learn off a question that someone asked having a similar problem as mine. This is the link : https://community.esri.com/message/43416#43416 It seems that they were able to show a webMap and solve their problem. The code I am using is exactly the same as Sobodh Dangwal's though I have fixed the error where he left out "- (void)viewDidLoad {". Yet when I try it I keep getting the error "use of undeclared identifier 'openIntoMapView' " I have a feeling it is a very simple error that I am making. There must be someone out there that can help me out.
... View more
08-13-2014
08:25 PM
|
0
|
5
|
502
|
POST
|
I'm trying to show an online map using AGSWebMap and I'm not sure where I'm going wrong. This is my code: ViewController.h
#import <UIKit/UIKit.h>
#import <ArcGIS/ArcGIS.h>
@interface ViewController : UIViewController <AGSWebMapDelegate>
@property (strong, nonatomic) IBOutlet AGSMapView *mapView;
@property (retain, nonatomic) AGSWebMap *webmap;
@end
This is my code: ViewController.m
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
@synthesize mapView;
@synthesize webmap;
- (void)viewDidLoad{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
#pragma mark -
- (void) openIntoMapView: (AGSMapView*) mapView {
self.webmap = [[AGSWebMap alloc] initWithItemId:@"7acfdd8e056240bfaa5ba46db7cdae7d" credential:nil];
self.webmap.delegate = self;
}
- (void)webMapDidLoad:(AGSWebMap *)webmap {
NSLog(@"delegate webMapDidLoad");
//open webmap in mapview
[self.webmap openIntoMapView:self.mapView];
}
-(void)didOpenWebMap:(AGSWebMap*)webmap intoMapView:(AGSMapView*)mapView {
NSLog(@"delegate didOpenWebMap");
}
- (void)dealloc {
[mapView release];
[super dealloc];
}
- (void)viewDidUnload {
[self setMapView:nil];
[super viewDidUnload];
}
}
- (void)didReceiveMemoryWarning
{
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
I keep getting an error on line 19. Saying "use of undeclared identifier 'openIntoMapView'". could anyone help me out here. Its a public webmap so doesn't need any credentials.
... View more
08-11-2014
11:31 PM
|
0
|
7
|
2551
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|