Why do you need to make it working as the text field? BTW, the function prototype seems wrong according to https://travis-ci.org/egeloen/IvoryGoogleMapBundle/builds/10596740