Changeset b164932
- Timestamp:
- 03/28/12 17:02:58 (15 months ago)
- 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)
- File:
-
- 1 edited
-
modules/mod_mapView.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modules/mod_mapView.py
r30bff6f1 rb164932 82 82 proj.recentre(lat, lon, zoom) 83 83 except: 84 print "mapView: cant recent re cooridnates"84 print "mapView: cant recenter coordinates" 85 85 86 86 def dragEvent(self,startX,startY,dx,dy,x,y): … … 112 112 (sx,sy,sw,sh) = self.get('viewport') 113 113 """ 114 the shift amount represents a per entage of the distance from screen center114 the shift amount represents a percentage of the distance from screen center 115 115 to an edge: 116 cen eter+---------->|edge116 center+---------->|edge 117 117 0 -> no shift 118 118 1 -> directly on the edge … … 137 137 138 138 def checkCenteringDisableThreshold(self): 139 """check ans set current centering disable t reshold"""139 """check ans set current centering disable threshold""" 140 140 centeringDisableThreshold = self.get('centeringDisableThreshold', 2048) 141 141 print "mapView: switching centering disable threshold to %s" % centeringDisableThreshold … … 143 143 144 144 def jump2point(self, point): 145 """recent reon a given point"""145 """recenter on a given point""" 146 146 z = self.get('z', 15) 147 147 lat, lon = point.getLL()
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/gps_navigace/chrome/site/nlp-logo.png)