return center_x , center_y
- def plot( self , pixmap , coords , colorname , radius=3 ) :
+ def plot( self , pixmap , coords , colorname , radius=1 ) :
center_x , center_y = self.center()
gc.foreground = pixmap.get_colormap().alloc_color( colorname )
dest_x , dest_y = self.gps2pix( coords , ( center_x , center_y ) )
- pixmap.draw_rectangle(gc, True , dest_x , dest_y , radius , radius )
+ pixmap.draw_rectangle(gc, True , dest_x-radius , dest_y-radius , 2*radius+1 , 2*radius+1 )
def line( self , pixmap , start , coords , colorname ) :