From e00296fa98858baba1a67f0f9a4f38c6115aa577 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Tue, 12 Jun 2012 21:46:46 +0000 Subject: [PATCH] Geography : the new views uses the new marker layer. svn: r19835 --- src/plugins/view/geoclose.py | 4 ++-- src/plugins/view/geofamclose.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/view/geoclose.py b/src/plugins/view/geoclose.py index 87142b623..cc356a096 100644 --- a/src/plugins/view/geoclose.py +++ b/src/plugins/view/geoclose.py @@ -287,9 +287,9 @@ class GeoClose(GeoGraphyView): if (hypot(float(act[3])-float(ref[3]), float(act[4])-float(ref[4])) <= radius) == True: # we are in the meeting zone - self.add_marker(None, None, act[3], act[4], act[7], True) + self.add_marker(None, None, act[3], act[4], act[7], True, 1) self.all_place_list.append(act) - self.add_marker(None, None, ref[3], ref[4], ref[7], True) + self.add_marker(None, None, ref[3], ref[4], ref[7], True, 1) self.all_place_list.append(ref) def _createmap(self, person, color, place_list, reference): diff --git a/src/plugins/view/geofamclose.py b/src/plugins/view/geofamclose.py index 32ed6167f..0e6b1ba9f 100644 --- a/src/plugins/view/geofamclose.py +++ b/src/plugins/view/geofamclose.py @@ -299,9 +299,9 @@ class GeoFamClose(GeoGraphyView): if (hypot(float(act[3])-float(ref[3]), float(act[4])-float(ref[4])) <= radius) == True: # we are in the meeting zone - self.add_marker(None, None, act[3], act[4], act[7], True) + self.add_marker(None, None, act[3], act[4], act[7], True, 1) self.all_place_list.append(act) - self.add_marker(None, None, ref[3], ref[4], ref[7], True) + self.add_marker(None, None, ref[3], ref[4], ref[7], True, 1) self.all_place_list.append(ref) def _expose_persone_to_family(self, ref_person, family):