Geomap: Code cleanup and optimization including removing instances of $.each
Merge pull request #4704 from pjackson28/geomapcleanup

Geomap: Code cleanup and optimization including removing instances of $.each