5 Replies Latest reply on Dec 18, 2012 9:25 PM by Mohmmad.Farooq

    Map.onLayersAddResult only fires if use Map.addLayers

    bb1769
      It seems that the Map's onLayersAddResult gets fired only if you've added layers to the map using addLayers. The function I've set for onLayersAddResult does not get called if I add layers one at a time with the addLayer method. If this is by design, the documentation for onLayersAddResult should say that it only works for layers added with addLayers.