1
votes

I am create static maps using Google maps and am getting an odd problem. I am trying to encode a university around here but Google Maps static appears to create a map for somewhere in Virginia.

The link I am using is:

http://maps.google.com/maps/api/staticmap?center=10945+BOULEVARD+Circle+near+21117&zoom=l6&size=500x500&markers=color:red%7C10945+BOULEVARD+Circle+near+21117&format=jpeg&maptype=map&sensor=false&

When I go to google maps and just do 10945+BOULEVARD+Circle+near+21117 I get the correct map. Is this some odd bug in google maps static or am I missing something?

1
Where exactly is 10945 Boulevard Circle? I'm seeing it show up in San Leandro, CA on Google Maps. Is that the correct city and state?andresf
Owings Mills MD. (maps.google.com/…)brechmos
Should have said, too, to note the "near 21117" in the above URL to the static map.brechmos

1 Answers

1
votes

It's fine to use "near" in your address, though if you know the city and state, it's always best to include that in the query. Looks like the word "circle" in your address is being misinterpreted (e.g., change it to "cir").

I simply changec circle to cir and it works for me:

http://maps.google.com/maps/api/staticmap?center=10945+BOULEVARD+Cir+Near+21117&zoom=16&size=500x500&markers=color:red%7C10945+BOULEVARD+Cir+near+21117&format=jpeg&maptype=map&sensor=false&

You could also simply add the state abbreviation and remove "near" and it should also work.