views:

21

answers:

1

I got a static map link using this wizard http://gmaps-samples.googlecode.com/svn/trunk/simplewizard/makestaticmap.html and the marker is on the image, but when i put this link into my website, the marker doesn't show up.

Here is the website where i'm trying to view the map. I see the map, but no marker. http://church.allthingswebdesign.com

I just have the link in an image tag like this

<img id="map" src="http://maps.google.com/staticmap?center=43.963415,-92.460594&amp;zoom=14&amp;markers=Comfort+Suites,+4141+Maine+Ave+SE,+Rochester,+MN++55904&amp;size=300x400&amp;sensor=TRUE_OR_FALSE&amp;key=ABQIAAAA6-Rq-t8XwsqXeXws3DleLBSI_7XewNJfovQwsmZjGMbTG7rp6BQaj3bwm-gy7nGQPyWKPTd3zPtcVA" alt="Map" />

Why doesn't the marker show up on my website?

+1  A: 

Ok, one thing to change - where it says TRUE_OR_FALSE in the url try changing it to false (all lower case).

If I browse directly to the url of the image provided, I don't see a marker so I suspect it's a problem with the wizard rather than your site.

Try this:

<img src="http://maps.google.com/maps/api/staticmap?center=43.962072,-92.456297&amp;zoom=13&amp;markers=43.962072,-92.456297&amp;size=300x400&amp;sensor=false&amp;key=ABQIAAAA6-Rq-t8XwsqXeXws3DleLBSI_7XewNJfovQwsmZjGMbTG7rp6BQaj3bwm-gy7nGQPyWKPTd3zPtcVA"&gt;

Basiclife
what does the sensor parameter do even?
Catfish
See here: http://code.google.com/apis/maps/documentation/premier/guide.html#Sensor
Basiclife