I'm trying to embed a Google Map solely using longitude and latitude coordinates (supplied from a MySQL database). So far, I've been pretty successful, but I have one last hurdle I'm struggling with. Here's my embed code:
<iframe width="250" height="193" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=<?=$result_array['lat']?>,<?=$result_array['long']?>&aq=&sll=<?=$result_array['lat']?>,<?=$result_array['long']?>&sspn=0.000647,0.001246&t=m&gl=us&ie=UTF8&ll=<?=$result_array['lat']?>,<?=$result_array['long']?>&spn=0.011505,0.018239&z=15&output=embed"></iframe>
I've gotten to a point where using only one set of coordinates, I can pinpoint the right place on the map, but the place is marked with an arrow and the relevant landmark. Does anyone know of a way to get rid of the green arrow?
Here's what I'm talking about: http://jsfiddle.net/9fmwM/6/
You may use the saddr-parameter instead of the q-parameter:
<iframe style="min-height: 99%; width: 100%;"
frameborder="0" scrolling="no"
marginheight="0"
marginwidth="0"
src="https://maps.google.com/maps?f=q&saddr=37.42216,-122.083737&source=s_d&hl=en&z=15&output=embed"></iframe>