- Timestamp:
- Sep 6, 2012, 2:23:57 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmap_svg.cpp
r4653 r4654 170 170 double height = _maxPointLat - _minPointLat; 171 171 if (width > 0 && height > 0) { 172 QRectF rect(_minPointLon, _minPointLat, width, height); 172 double eps = 2.0; 173 QRectF rect(_minPointLon-eps, _minPointLat-eps, width+2*eps, height+2*eps); 173 174 _mapPlotZoomer->zoom(rect); 174 175 }
Note:
See TracChangeset
for help on using the changeset viewer.