AnsweredAssumed Answered

Drawing Graphics on Different esri Basemaps

Question asked by christopher.barger on Jan 31, 2013
Latest reply on Feb 1, 2013 by christopher.barger
I am trying to draw a graphic on an esri basemap. I started with the ESRI_StreetMap_World_2D basemap. It is created in the viewDidLoad method of my view controller like this:

    AGSTiledMapServiceLayer *tiledLayer =
     tiledMapServiceLayerWithURL:[NSURL URLWithString:@""]];
    [self.mapView addMapLayer:tiledLayer withName:@"World Imagery"];

I then draw a graphic, a blue simple marker symbol, on user input. However, if i switch to as my basemap, the graphic no longer draws. Is there something with the imagery layer where you cannot draw graphics on it? The only change I make to my code that results in the graphic not being drawn is changing the URL of the basemap.