modify the definition of google-map directive