Changeset 4654 in ntrip for trunk


Ignore:
Timestamp:
Sep 6, 2012, 2:23:57 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmap_svg.cpp

    r4653 r4654  
    170170  double height = _maxPointLat - _minPointLat;
    171171  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);
    173174    _mapPlotZoomer->zoom(rect);
    174175  }
Note: See TracChangeset for help on using the changeset viewer.