renamed getVisible to isVisible in map classes