event handling, to extend to manage other hash arguments and map behaviors (ie add/remove layers)