Allow the location query SQL to be modified.
Merge pull request #228 from spencerfinnell/issue/221

Allow the location query SQL to be modified.