you are using: http://maps.google.com/staticmap...
which is the OLD api: http://code.google.com/apis/maps/documentation/staticmaps/v1/ specifing the colour etc, is a feature of the NEW api, which should be using http://maps.googleapis.com/maps/api/staticmap See http://code.google.com/apis/maps/documentation/staticmaps/ Example: http://maps.googleapis.com/maps/api/staticmap?center=51.165,10.455277777778&markers=color:red|51.37,10.86|53.07,8.81|54.08,12.13|49.47,7.17|49.31,7.28|53.51,13.99|49.41,6.91|49.76,6.63|52.66,8.24|49.32,7.27|50.74,8.28|50.58,8.68|49.47,7.17|50.71,7.98|50.16,7.2|50.55,7.29|50.98,11.02|50.82,10.7|50.72,11.35|50.42,10.73|51.89,11.05&zoom=6&size=640x640&sensor=false 2011/9/5 Björn Lüders <[email protected]>: > I just got the info that the new API has been released. As I tried to > update my code I stumbled upon a problem. I can't assign colors to my > markers. > > Why is this string not working > > http://maps.google.com/staticmap?center=51.165,10.455277777778&markers=color:red|51.37,10.86|53.07,8.81|54.08,12.13|49.47,7.17|49.31,7.28|53.51,13.99|49.41,6.91|49.76,6.63|52.66,8.24|49.32,7.27|50.74,8.28|50.58,8.68|49.47,7.17|50.71,7.98|50.16,7.2|50.55,7.29|50.98,11.02|50.82,10.7|50.72,11.35|50.42,10.73|51.89,11.05&zoom=6&size=640x640 > > but this one > > http://maps.google.com/staticmap?center=51.165,10.455277777778&markers=51.37,10.86|53.07,8.81|54.08,12.13|49.47,7.17|49.31,7.28|53.51,13.99|49.41,6.91|49.76,6.63|52.66,8.24|49.32,7.27|50.74,8.28|50.58,8.68|49.47,7.17|50.71,7.98|50.16,7.2|50.55,7.29|50.98,11.02|50.82,10.7|50.72,11.35|50.42,10.73|51.89,11.05&zoom=6&size=640x640 > > Thanks! > > Bjoern > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API V2" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
