code: protected void fireLayerAddedEvent(MapLayer layer, int index) {
  		fireLayerHierarchyChangedEvent(new MapLayerHierarchyEvent(this, layer, Type.ADD_CHILD, index, layer.isTemporaryLayer()));
  	}
docs: Fire the event that indicates a layer was added.
  
  @param layer is the added layer.
  @param index is the insertion index.