We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 732d099 commit 7554db7Copy full SHA for 7554db7
services/GeoService.ts
@@ -33,15 +33,21 @@ export class GeoService {
33
*/
34
getEpsilonByZoom(zoom: number) {
35
36
+ if(zoom > 16){
37
+ return 0.0007;
38
+ }
39
+
40
switch (zoom) {
41
+ case 16:
42
+ return 0.0008;
43
case 15:
- return 0.002;
44
+ return 0.001;
45
case 14:
- return 0.003;
46
+ return 0.0025;
47
case 13:
- return 0.006;
48
+ return 0.005;
49
case 12:
- return 0.0089;
50
+ return 0.008;
51
case 11:
52
return 0.01;
53
case 10:
@@ -145,12 +151,12 @@ export class GeoService {
145
151
epsilon,
146
152
chargingLocations
147
153
};
148
-
154
149
155
if(addGroupCount) {
150
156
157
locationCluster.groupCount = total;
158
}
159
160
return locationCluster;
161
162
0 commit comments