Fantastic fix. After registering with Google API I was still getting errors. But changing that line from: if (typeof(searchStr) == 'function') { to if (typeof(searchStr) == 'function' && typeof(searchStr.test) == 'function') { works for me. -- Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html