Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>There is something wrong with the color parameter of the paths. The following URI works for me:</p> <p><a href="http://maps.google.com/maps/api/staticmap?center=50.8202008,-0.1324898&amp;zoom=6&amp;size=400x400&amp;markers=50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;path=weight:5|50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;sensor=false" rel="noreferrer"><code>http://maps.google.com/maps/api/staticmap?center=50.8202008,-0.1324898&amp;zoom=6&amp;size=400x400&amp;markers=50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;path=weight:5|50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;sensor=false</code></a></p> <p>and I see the default blue lines.</p> <p><strong>Update</strong>: the "something wrong" is that the separator between the path color and path weight is a <a href="http://code.google.com/apis/maps/documentation/staticmaps/#PathStyles" rel="noreferrer">pipe symbol</a>, not an ampersand. This:</p> <p><a href="http://maps.google.com/maps/api/staticmap?center=50.8202008,-0.1324898&amp;zoom=6&amp;size=400x400&amp;markers=50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;path=color:0xff0000ff|weight:5|50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;sensor=false" rel="noreferrer"><code>http://maps.google.com/maps/api/staticmap?center=50.8202008,-0.1324898&amp;zoom=6&amp;size=400x400&amp;markers=50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;path=color:0xff0000ff|weight:5|50.8202008,-0.1324898|51.447341,-0.0761212|51.4608947,-2.5884312&amp;sensor=false</code></a></p> <p>works and gives a red line.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload