From a735cd26d2d65ff224b4166d45758dbae9138288 Mon Sep 17 00:00:00 2001 From: Deepak Karthik <77111326+DeepakTG7@users.noreply.github.com> Date: Mon, 9 Oct 2023 23:44:09 +0530 Subject: [PATCH] Changes in url --- python/encode-decode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/encode-decode.py b/python/encode-decode.py index 25c6b34..8fcef53 100644 --- a/python/encode-decode.py +++ b/python/encode-decode.py @@ -6,8 +6,8 @@ def encode(coords): def decode(encoded): return polyline.decode(encoded, 5) -encoded = encode([(37.7749, -122.4194), (34.0522, -118.2437)]) #Refer to encoded/decoded polylines from https://github.com/mapup/Encode-Decode-Google-Polyline/tree/main/sample-polylines +encoded = encode([(37.7749, -122.4194), (34.0522, -118.2437)]) #You can refer to sample encoded/decoded polylines from https://github.com/mapup/Encode-Decode-Google-Polyline/tree/main/sample-polylines print("Encoded: ", encoded) -decoded = decode(encoded) #Refer to encoded/decoded polylines from https://github.com/mapup/Encode-Decode-Google-Polyline/tree/main/sample-polylines +decoded = decode(encoded) print("Decoded: ", decoded) \ No newline at end of file