add hiding class for the lengeds
fix a bug that prevented changing the basemap in the table view