I am trying to get the Google Map Static Image which show both origin,destination along with poly line using the Encoded Route data which I have but I was not able see anything on the map.
below is the link which I am using
`https://maps.googleapis.com/maps/api/staticmap?size=600x400&path=enc:i}cyHdpc@@?L?@bBAZERwHhNw@zBONULXbC}FjAwBh@eGbB[LGJW]gAmB_@w@_@w@_HnLgDrFqAhBSTQDMn@QfAcApF?^B\\Rl@z@xAL`@IR]RqA\\YF]@c@NcALWPWZeBbBuFdE}D~CuBlAgA~@c@\\OCy@b@eBb@_DpAuDjBw@n@]v@c@tBe@fBWj@k@d@mExByB|@qBpAYFgABc@N}@f@s@l@e@b@_AvA{E|JoAvB_ApAKLaCaH[kBW{CEa@GcBQ}AUuAg@}BsCcKiDgN_AwDmBxAkB`BWm@KoAWQMB&key={API_KEY}`
Things to note :
- My URL is below 2000 characters
- I am using
path
parameter as per documentation usingenc:
tag - I have tried replacing
\\
with\\\\
as mentioned here
but none of them worked out.is there anything here which I am missing ?