Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

Easily! Just put your arguments in:

share|improve this answer

Replace http://maps.google.co.in with http://ditu.google.cn

Don't know why, but it works for me.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.