Geography : the new views uses the new marker layer.
svn: r19835
This commit is contained in:
parent
56f5d50003
commit
e00296fa98
@ -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):
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user