+ Reply to Thread
Results 1 to 3 of 3

Thread: SkechLayer load down tiled Map

  1. #1
    Luca Alferi
    Join Date
    Apr 2012
    Posts
    18
    Points
    0
    Answers Provided
    0


    0

    Default SkechLayer load down tiled Map

    Hi
    In my application i use different base map. When application is loaded for the first time, skechLayer draw up tiled map (OK), but when i change the base map the skechLayer draws down the tiled map.
    i used this code:
    AGSGraphicsLayer* graphicsLayer2 = [AGSGraphicsLayer graphicsLayer];
    [self.mapView addMapLayer:graphicsLayer2 withName:@"Graphics Layer 2"];
    self.sketchLayer = [AGSSketchGraphicsLayer graphicsLayer];
    [self.mapView addMapLayer:self.sketchLayer withName:@"Sketch layer"];
    Why?
    Help me please
    Last edited by Promethia; 05-02-2012 at 06:05 AM.

  2. #2
    Nimesh Jarecha

    Join Date
    Oct 2009
    Posts
    882
    Points
    493
    Answers Provided
    106


    1
    This post is marked as the answer

    Default Re: SkechLayer load down tiled Map

    How you are changing the base map? You should use AGSMapView's insertMapLayer:withName:atIndex: method and insert base layer at index 0.

    Regards,
    Nimesh
    Last edited by nrjarecha; 05-02-2012 at 09:36 AM.

  3. #3
    Luca Alferi
    Join Date
    Apr 2012
    Posts
    18
    Points
    0
    Answers Provided
    0


    0

    Default Re: SkechLayer load down tiled Map

    Quote Originally Posted by nrjarecha View Post
    How you are chaining the base map? You should use AGSMapView's insertMapLayer:withName:atIndex: method and insert base layer at index 0.

    Regards,
    Nimesh
    Grazie Grazie Grazie (Thanks Thanks Thanks)
    it now works fine

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts