Geography : the new views uses the new marker layer.

svn: r19835
This commit is contained in:
Serge Noiraud 2012-06-12 21:46:46 +00:00
parent 56f5d50003
commit e00296fa98
2 changed files with 4 additions and 4 deletions

View File

@ -287,9 +287,9 @@ class GeoClose(GeoGraphyView):
if (hypot(float(act[3])-float(ref[3]), if (hypot(float(act[3])-float(ref[3]),
float(act[4])-float(ref[4])) <= radius) == True: float(act[4])-float(ref[4])) <= radius) == True:
# we are in the meeting zone # 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.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) self.all_place_list.append(ref)
def _createmap(self, person, color, place_list, reference): def _createmap(self, person, color, place_list, reference):

View File

@ -299,9 +299,9 @@ class GeoFamClose(GeoGraphyView):
if (hypot(float(act[3])-float(ref[3]), if (hypot(float(act[3])-float(ref[3]),
float(act[4])-float(ref[4])) <= radius) == True: float(act[4])-float(ref[4])) <= radius) == True:
# we are in the meeting zone # 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.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) self.all_place_list.append(ref)
def _expose_persone_to_family(self, ref_person, family): def _expose_persone_to_family(self, ref_person, family):