GeoView : Issue 3749 : Pin positions drift with zoom
svn: r14890
This commit is contained in:
parent
aad74b8bb8
commit
4cc0356d8a
@ -1958,7 +1958,7 @@ class GeoView(HtmlView):
|
|||||||
ipath = os.path.join(const.ROOT_DIR, 'images/22x22/', '%s.png' % value )
|
ipath = os.path.join(const.ROOT_DIR, 'images/22x22/', '%s.png' % value )
|
||||||
upath = urlparse.urlunsplit(('file', '',
|
upath = urlparse.urlunsplit(('file', '',
|
||||||
URL_SEP.join(ipath.split(os.sep)), '', ''))
|
URL_SEP.join(ipath.split(os.sep)), '', ''))
|
||||||
self.mapview.write("my_marker.setIcon(\"%s\",[22,22],[0,0]);" % upath)
|
self.mapview.write("my_marker.setIcon(\"%s\",[22,22]);" % upath)
|
||||||
self.mapview.write("my_marker.setShadowIcon(\"%s\",[0,0]);" % upath)
|
self.mapview.write("my_marker.setShadowIcon(\"%s\",[0,0]);" % upath)
|
||||||
|
|
||||||
def _show_title(self, title):
|
def _show_title(self, title):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user