From 90f27a4b0638e08e2f9cbefb7671c8a7a28128a4 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Sun, 21 Mar 2010 15:26:47 +0000 Subject: [PATCH] GeoView : Issue 749 : Pin positions drift with zoom svn: r14891 --- src/plugins/view/geoview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/view/geoview.py b/src/plugins/view/geoview.py index 37a8bb1de..b900b58de 100644 --- a/src/plugins/view/geoview.py +++ b/src/plugins/view/geoview.py @@ -1660,7 +1660,7 @@ class GeoView(HtmlView): ipath = os.path.join(const.ROOT_DIR, 'images/22x22/', '%s.png' % value ) upath = urlparse.urlunsplit(('file', '', 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) def _show_title(self, title):