Changeset b164932


Ignore:
Timestamp:
03/28/12 17:02:58 (2 years ago)
Author:
Martin Kolman <martin.kolman@…>
Branches:
master
Children:
7dc6e55
Parents:
cf682b0
git-author:
Martin Kolman <martin.kolman@…> (03/28/12 17:02:58)
git-committer:
Martin Kolman <martin.kolman@…> (03/28/12 17:02:58)
Message:

firs commit for modRana to Github
fix some typos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/mod_mapView.py

    r30bff6f1 rb164932  
    8282        proj.recentre(lat, lon, zoom) 
    8383      except: 
    84         print "mapView: cant recentre cooridnates" 
     84        print "mapView: cant recenter coordinates" 
    8585   
    8686  def dragEvent(self,startX,startY,dx,dy,x,y): 
     
    112112      (sx,sy,sw,sh) = self.get('viewport') 
    113113      """ 
    114       the shift amount represents a perentage of the distance from screen center 
     114      the shift amount represents a percentage of the distance from screen center 
    115115      to an edge: 
    116       ceneter+---------->|edge 
     116      center+---------->|edge 
    117117      0 -> no shift 
    118118      1 -> directly on the edge 
     
    137137 
    138138  def checkCenteringDisableThreshold(self): 
    139     """check ans set current centering disable treshold""" 
     139    """check ans set current centering disable threshold""" 
    140140    centeringDisableThreshold = self.get('centeringDisableThreshold', 2048) 
    141141    print "mapView: switching centering disable threshold to %s" % centeringDisableThreshold 
     
    143143 
    144144  def jump2point(self, point): 
    145     """recentre on a given point""" 
     145    """recenter on a given point""" 
    146146    z = self.get('z', 15) 
    147147    lat, lon = point.getLL() 
Note: See TracChangeset for help on using the changeset viewer.