public void init(Layer[] layers){
  init(Arrays.asList(layers));
}

public void init ( Layer [ ] layers ) { init ( Arrays . asList ( layers ) ) ; }
initialize from an array of layers . this will cause the layerlisteners , if they exist , to update themselves with the current list of layers . this will check to add layers to the maphandler .
