Below code for anchor tag will open the google map of the location in another window.
< a id="lnkMap" href='http://maps.google.com/maps?q=Street+City+State_Province+Zip_Postal_Code+Country' target="_blank" >Map/Directions< /a >
As the query string, you have to pass the adderss of the location seperated by '+' to the 'maps.google.com/maps' url.
No comments:
Post a Comment