Skip to content

Commit 76bc43e

Browse files
Robin BuschmannRobin Buschmann
authored andcommitted
testing
1 parent 458f379 commit 76bc43e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/ChargingLocationService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class ChargingLocationService {
161161
SELECT longitude, latitude
162162
FROM (SELECT longitude, latitude
163163
FROM (
164-
SELECT ROUND(longitude, ${zoom >= 5 ? 0 : 2}) AS longitude, ROUND(latitude, ${zoom >= 5 ? 0 : 2}) AS latitude FROM ChargingLocation
164+
SELECT ROUND(longitude, ${zoom <= 5 ? 1 : 2}) AS longitude, ROUND(latitude, ${zoom <= 5 ? 1 : 2}) AS latitude FROM ChargingLocation
165165
) AS CL GROUP BY longitude, latitude) AS CL
166166
WHERE
167167
longitude >= :longitude1 AND

0 commit comments

Comments
 (0)