Parent Directory | Revision Log
Generalize solution so it also works with BK - all distributor specific values are moved to Constants system
1 | package dk.daoas.fulddaekning; |
2 | |
3 | public class DaoConstants extends Constants{ |
4 | |
5 | public static final double LATITUDE_MARGIN = 0.02702703; // 3 km margin |
6 | public static final double LONGUTUDE_MARGIN = 0.046875; // 3 km margin |
7 | |
8 | public double getLatitudeMargin() { |
9 | return LATITUDE_MARGIN; |
10 | } |
11 | |
12 | public double getLongitudeMargin() { |
13 | return LONGUTUDE_MARGIN; |
14 | } |
15 | |
16 | public double getMaxDistance() { |
17 | return 6.0; // vi gemmer ikke afstande over 6 km |
18 | } |
19 | |
20 | } |
ViewVC Help | |
Powered by ViewVC 1.1.20 |