If you would like to embed a KMZ file on your site you can do so now on web.unc.edu by following the steps outlined in the video and directions below:
Step 1: Generate an API key for Google Maps from Google.
- Go to https://code.google.com/apis/console/ and login with a Google ID
- If prompted, go ahead and create a new project.
- Click on “Services” on the left and go down and find “Google Maps API v2″. Toggle the On/Off switch to On in the middle column.
- Then click “API Access” on the left hand navigation.
- In the bottom middle click “Create New Browser” key and enter the URL of your site with a * at the end including the https:// as the website URL. For example, if your site is jeff.web.unc.edu, you would put in http://jeff.web.unc.edu/* as your URL.
- In the middle below you will see an API key. Copy that to be used in Step 2
Step 2: Activate Plugin and Embedding Map
- Go to Dashboard – Plugins and activate the XML Google Maps Plugin (very bottom)
- Go to Settings – XML Google Maps and enter the API key from Step 1 in “Your Google Maps API Key”
- Click the “Save Changes” button the right hand side (above the picture of the starving programmer)
- Go to your post/page where you want to embed the map.
- Click the Upload Media button, browse to your computer and upload the kmz/kml file
- Make sure the Title is what you would like it to be, and the Link URL is linking to the File.
- Click Insert into Post.
- Publish page and see your map!
Remember you can add additional parameters in the HTML if you want to zoom in, and show additional features. You can read more at the plugin author’s page here: http://www.matusz.ch/blog/projekte/xml-google-maps-wordpress-plugin-en/parameter/