added methods for chaging minimap state