equal
deleted
inserted
replaced
69 rql = self.rset.printable_rql() |
69 rql = self.rset.printable_rql() |
70 if urlparams is None: |
70 if urlparams is None: |
71 loadurl = self.build_url(rql=rql, vid='geocoding-json') |
71 loadurl = self.build_url(rql=rql, vid='geocoding-json') |
72 else: |
72 else: |
73 loadurl = self.build_url(rql=rql, vid='geocoding-json', **urlparams) |
73 loadurl = self.build_url(rql=rql, vid='geocoding-json', **urlparams) |
74 loadurl = loadurl.replace('&','&') |
|
75 self.w(u'<div style="width: %spx; height: %spx;" class="widget gmap" ' |
74 self.w(u'<div style="width: %spx; height: %spx;" class="widget gmap" ' |
76 u'cubicweb:wdgtype="GMapWidget" cubicweb:loadtype="auto" ' |
75 u'cubicweb:wdgtype="GMapWidget" cubicweb:loadtype="auto" ' |
77 u'cubicweb:loadurl="%s" cubicweb:uselabel="%s"> </div>' % (width, height, loadurl, uselabel)) |
76 u'cubicweb:loadurl="%s" cubicweb:uselabel="%s"> </div>' % (width, height, loadurl, uselabel)) |
78 |
77 |
79 |
78 |