It's not really clear what you're trying to do. You have "+str(loct) +" in a URL. Is that supposed to be evaluated by JavaScript in the browser? If you post a larger snippet of your issue it might help explain your problem.
On Dec 29, 7:59 pm, nicklv <fhl...@gmail.com> wrote: > Hi, > > I'm using self.response.out.write(template.render(path, > template_values)) > to write some html code out. In the html code, I have the following > > 'http://maps.google.com/staticmap?center='+str(loct)+","+str(loc) > +"&zoom=13&size=400x400&maptype=mobile&key=MAPS_API_KEY&sensor=true_or_fals > e&markers="+str > (loct)+","+str(loc)+",blue" > > But when I load into the browser, the browser will not show the image > from the above code. > I notice there is sort of a line-break after "staticmap?". I'm > suspecting the question mark "?" is causing some problem. > > Do I need to escape the question mark for the code to work correctly? > > Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---