Added check for entries in the mapicon array before adding google maps markers