Don't crash when trying to hide an uninitialised map
Merge pull request #2 from fredj/hide-undefined-map

Don't crash when trying to hide an uninitialised map