def checkagain(self, dt):
if self.lat!= globalloc[self.name]['lat'] or self.lon != globalloc[self.name]['lon']:
self.parent.parent.add_marker(MMarker(globalloc[self.name],self.user,self.is_open))
self.detach()
Clock.unschedule(self.checkagain)
#print 'marker callback',self.user
评论列表
文章目录