Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Great that this forum exists now. I hope it will thrive.

Let me start by saying I did ask this particular question on the official iPhone SDK forum as well.

I have seen a working example of a TiledMapServiceLayer subclass that overrides the GetTileUrl(int level, int row, int col) method to point to a TMS-compliant service. This is in the .NET API. I tried implementing

-(NSString *)tileURL:(NSInteger)level row:(NSInteger)row column:(NSInteger)column 

and various variations but to no avail. Is there a workaround for this or does the ArcGIS iOS SDK just not support TMS?

share|improve this question

According to ESRI the iOS SDK supports Tiled Map Services

share|improve this answer
Yes, I know this and I referred to this class in my question. I need to override the private method that constructs the URL to the tiles though, and this is where I got stumped. – mvexel Aug 10 '10 at 7:49

You can set proxy of iPhone, and see the http request, Maybe we can get the URL.

share|improve this answer

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Can you expand on this Answer? was flagged by stack exchange as a low answer quality see the FAQ – Mapperz Oct 29 '12 at 13:37

Inherit from AGSTiledServiceLayer and implement this function:

-(NSURL*)urlForTileKey:(AGSTileKey *)key

That's all you need to do.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.