Google Map API – Adding to a map to your site via iframe

There may be times when you want to add a map with markets to your website but you are using a platform like WordPress where adding html is easy adding the code for the Google Map API is not. A simple solution is to use a html iframe.

By setting  up a seperate html page with all of the required Google Map API code embedded in it, you can then call the iframe in WordPress (or any other place you can use HTML) and have a working map.

The basis usage of an iframe is just <iframe src=”URL“></iframe>, with additional options such as  height=”400″ width=”600″and frameborder=”0″.

The one little trick is to add a <a name=”start-here”></a> in the source html page just above <div id=”map_canvas”></div>

Then you use the iframe you add <iframe src=”./map.html#start-here” height=”400″ width=”600″ scrolling=”no” frameborder=”0″> </iframe>

The #start-here bit starts the iframe just at the start of your map so that it is easy to seamlessly add the map to your main project.

Google Map API – Markers with Pop Up Windows

Another need I had was to have map markers pulling data from an xml file that also had "pop up" windows functionality with information about that specific marker. As a result I put together the following bit of script.  The lat/lng and information … [Continue reading]

Free Windows host – freeasphost.net

If you are just dipping your feet in .NET or if you are on an extreme budget you can get free .NET 3.5 hosting from freeASPhost.net. You get .NET 3.5 200MB of storage and 2000MB of transfer. You get a MySQL DB but not MS SQL (which excludes the … [Continue reading]

Filezilla is a great FTP program

If you are in need of a FTP program and don't want to pay for a commercial one, I recommend the open source filezilla. It comes it both a server and client edition, is free and has a great community behind it. It is frequentl updated and has all of … [Continue reading]

Simple Marker Based on Address using the Google API

If you need to show a marker on a map based on an user inputted address, the Google API provides you a way. You can use the code below to create your own map you just need to get a Google Maps API key from Google Maps and insert it in line 6. In line … [Continue reading]