All websites need to clearly provide contact options, whether by email, phone, or the company's address. In this last case, if we also offer a map showing our location, we will be giving clearer directions for those who want to visit us.
To publish a map on a page you have to follow the steps below:
1. Add the “Google Map” GXportlet.
2. Obtain a Maps API key.
In order to do so, go to http://code.google.com/intl/es-AR/apis/maps/signup.html, read the Google article, select the check box labeled “I have read and I accept the terms and conditions”, enter your website URL, for example: http://beta.gxportal.com and click on the button labeled “Generate API key”. Copy the obtained key to the “Access Key” property of the GXportlet.
After entering the key, the map will be displayed. In order to request a key, you will need to have a gmail account.
3. Mark the location that you want to highlight. These properties are located within the “Location” group. You will have to indicate it using Latitude and Longitude values. In order to do so, go to: http://maps.google.com, and enter the corresponding address, for example:
5. The location will be displayed on the map. Right-click on the location and select the “What’s here?” option, as shown in the figure below:
6. In the search field you will see: Latitude,Longitude. For example: -23.611138,-46.693808. You will have to enter those values in the GXportlet, and the location will be highlighted on the map. In addition, you will be able to customize other features of your map just like in any other GXportlet.
7. That’s it! Your map has been published!
*Written by: Claudia Shuster, GXportal Developer in GXportal’s blog
| *Written by: Claudia Shuster, GXportal Developer in GXportal’s blog |