Skip to content

Commit 9b4774b

Browse files
committed
remove webmercator coordinate switch
with the switch of the coordinates into the correct order in the sphinx index, we can remove the switch of the coordinates for webmercator and use the original order.
1 parent d177c20 commit 9b4774b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def _parse_locations(self, transformer, res):
692692
) from error
693693
else:
694694
try:
695-
pnt = (res['y'], res['x'])
695+
pnt = (res['x'], res['y'])
696696
x, y = transformer.transform(pnt[0], pnt[1])
697697
res['x'] = x
698698
res['y'] = y

0 commit comments

Comments
 (0)