/[projects]/dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/BKConstants.java
ViewVC logotype

Diff of /dao/FuldDaekningWorker/src/dk/daoas/fulddaekning/BKConstants.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2225 by torben, Sat Sep 20 11:15:58 2014 UTC revision 2226 by torben, Sat Sep 20 11:50:16 2014 UTC
# Line 2  package dk.daoas.fulddaekning; Line 2  package dk.daoas.fulddaekning;
2    
3  public class BKConstants extends Constants {  public class BKConstants extends Constants {
4    
5            protected final double MAX_DISTANCE = 30.0;
6            
7          @Override          @Override
8          public double getLatitudeMargin() {          public double getLatitudeMargin() {
9                  return GeoPoint.kmToLatitude(30); // 30 km                  return GeoPoint.kmToLatitude(MAX_DISTANCE); // 30 km
10          }          }
11    
12          @Override          @Override
13          public double getLongitudeMargin() {          public double getLongitudeMargin() {
14                  return GeoPoint.kmToLongitude(30);                  return GeoPoint.kmToLongitude(MAX_DISTANCE);
15          }          }
16    
17          @Override          @Override
18          public double getMaxDistance() {          public double getMaxDistance() {
19                  return 30.0; //max 200 km                  return MAX_DISTANCE;
20          }          }
21                    
22          public int getMinPostnr() {          public int getMinPostnr() {

Legend:
Removed from v.2225  
changed lines
  Added in v.2226

  ViewVC Help
Powered by ViewVC 1.1.20