Google-maps – How to show Marker on Google Maps in URL

google mapsiframe

Here I'm using an iFrame and passing one URL with dynamic latitude/longitude:

<iframe width="270" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.co.in/maps?f=d&source=s_d&t=k&layer=t&hl=en&mra=ls&ie=UTF8&geocode=&hq=&sll=<?php echo $latitude;?>,<?php $longitude;?>&spn=0.0183632,0.0215679&z=15&output=embed"></iframe>

Can I set a marker on the particular location I pass in as parameters?

Best Answer

Easily! Just put your arguments in:

http://maps.google.com/maps?q=description+(name)+%4046.080271,6.465248