Extra markers appearing on google static map -


can explain me why url google static maps shows location in france?

https://maps.googleapis.com/maps/api/staticmap? center=usa& scale=2& size=1920x360& maptype=roadmap& region=us& markers=size:tiny%7ccolor:red%7c label:m%7cnew+york,ny%7c label:m%7cmobile,al%7c& key= 

obviously i've removed key security

you have erroneous marker style not @ beginning of &markers= parameter (per the documentation must @ beginning of list:

the set of markerstyles declared @ beginning of markers declaration , consists of 0 or more style descriptors separated pipe character (|), followed set of 1 or more locations separated pipe character (|).

label:m%7cmobile,al%7c& 

proof of concept fiddle

code snippet:

<img src="https://maps.googleapis.com/maps/api/staticmap?center=usa&scale=2&size=1920x360&maptype=roadmap&region=us&markers=size:tiny%7ccolor:red%7clabel:m%7cnew+york,ny%7cmobile,al%7c" />


Comments