changed getActiveMap to return map object instead of the a id for that map