Fix check for google maps.
Merge pull request #229 from paulmillr/patch-3

Fix check for google maps.