Generate a Python program to compute the sum of the numbers in an array, after mapping each element to its square.
myList = [2, 3, 4, 5, 6]
def sum_of_squares(myList):
    result = 0
    for num in myList:
        result += num**2
    return result

total = sum_of_squares(myList)
print("Sum of Squares:", total)