From 96a3614fd677792d435c4647dd3c994f31af6f93 Mon Sep 17 00:00:00 2001 From: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> Date: Fri, 25 Nov 2022 00:28:19 +0530 Subject: [PATCH] docs: update `encodedpath` documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Niklas Hösl Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com> --- docs/endpoints.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/endpoints.rst b/docs/endpoints.rst index c4a0c7f..866daea 100644 --- a/docs/endpoints.rst +++ b/docs/endpoints.rst @@ -39,7 +39,9 @@ Static images * e.g. ``5.9,45.8|5.9,47.8|10.5,47.8|10.5,45.8|5.9,45.8`` * can be provided multiple times + * ``encodedpath`` - an alternative way to provide a path using Google's polyline encoding. Only used if ``path`` is not provided. + * more details: https://developers.google.com/maps/documentation/utilities/polylinealgorithm * ``latlng`` - indicates coordinates are in ``lat,lng`` order rather than the usual ``lng,lat`` * ``fill`` - color to use as the fill (e.g. ``red``, ``rgba(255,255,255,0.5)``, ``#0000ff``) * ``stroke`` - color of the path stroke