deeveeABC deeveeABC - 4 months ago 18
HTML Question

Set specific Google maps API location

I am trying to get google maps to show on my website, with a specific pinpoint of a chosen address. In order to achieve this, I am trying to use google maps api, however I can only get the basic view of the map without narrowing it down to my chosen location.

<iframe width="100%" height="400px"
frameborder="0" scrolling="no" marginheight="0" marginwidth="0"
src="http://maps.google.com/maps? hl=en&amp;ie=UTF8&amp;ll=37.0625,-95.677068&amp;spn=56.506174,
79.013672&amp;t=m&amp;z=4&amp;output=embed">
</iframe>


Am I on the right track?

Answer

assuming you lat lng are 37.0625,-95.677068 you can try

<iframe width="100%" height="400px" frameborder="0" 
       scrolling="no" marginheight="0" marginwidth="0"
       src="http://www.google.com/maps/place/37.0625,-95.677068"></iframe>