AnsweredAssumed Answered

Problem with Webmap Sample

Question asked by s26761 on Oct 30, 2013
Latest reply on Nov 6, 2013 by s26761
Hello

I've been experimenting the Webmap Sample with 10.2 SDK but something seems not be working as expected.

// Keying 'AGSSample' for username and 'agssample' for password as suggested doesn't allow successful login to private webmap

     AGSCredential *credential = [[AGSCredential alloc] initWithUser:username password:password];

    // Recreate the webmap object; this time with the credentials
    self.webMap = [[AGSWebMap alloc] initWithItemId:self.webmapId credential:credential];

Any clue as what maybe the problem?

Thanks.

Rgds
Ong CF

Outcomes