We’ve included an easy way to add a Google map to your DNN site(s) via an HTML module:
- Hover over your HTML module’s Manage button and select Edit Content. Click on the HTML tab at the bottom of the HTML editor and copy/paste the following sample code into it:
- <iframe width="100%" scrolling="no" height="272" frameborder="0" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q& hl=en& geocode=& ;q=DotNetNuke+Corporation,+Bovet+Road,+San+Mateo,+CA& aq=0& oq=dotnetnuke+corp&sll=27.698638,-83.804601&sspn=17.36122,18.127441& ie=UTF8&hq=DotNetNuke+Corporation,+Bovet+Road,& hnear=San+Mateo,+California& ll=37.549936,-122.31679& spn=0.028723,0.019218&t=m&output=embed"></iframe>
- <small><a href="https://maps.google.com/maps?f=q&source=embed&hl=en&geocode=& q=DotNetNuke+Corporation, +Bovet+Road,+San+Mateo,+CA& aq=0& oq=dotnetnuke+corp&sll=27.698638,-83.804601& sspn=17.36122,18.127441& ie=UTF8& hq=DotNetNuke+Corporation,+Bovet+Road,& hnear=San+Mateo,+California&ll=37.549936,-122.31679& spn=0.028723,0.019218& t=m" style="color: #0000ff; text-align: left;">View Larger Map</a></small>
Heads up! To change the Map that is displayed on the page, just add your own Google Map embed code by going to maps.google.com.