This is kind of a hack the way you are doing it. It can be achieved but, IMHO, its unmanageable because that URL has to be formatted very specifically and the exclusion of one %, for example, will cause your entire link to not work as expected!
I might suggest using the MapQuest API instead:
http://www.programmableweb.com/api/mapquest
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========