GWP Map

The GWP map is custom built by the website developer. 

The information displayed comes from the regional start pages listed under the "Regional Sites->" node of gwp.org. edit the site, and go to the Regions Map tab, to adjust the X and Y location, description etc.

If you want to add a region, you will need to update the background image (found on the FTP site) and then add a Region Start Page under the "Regional Sites->" node of gwp.org

The regions map can be used on external sites by using the javascript tag embedded on the page. Ask the developer for details, if stuck, though the instructions below should work. This is especially useful for sharing this map with external websites, such as partners and country websites.

Putting the GWP map on another website (like toolbox or a regional site)

Putting the GWP map on another website (like toolbox or a regional site)

Put the following HTML code on the website:

<img src="http://www.gwp.org/templates/images/gwp-regionmap.png" alt="" id="regions-map-popup-link" style=""/>

<script type="text/javascript" src="http://www.gwp.org/templates/clientcontent/regionmapdata.aspx"></script>

<script type="text/javascript" src="http://www.gwp.org/templates/javascript/dynamic-content.json.js"></script>

<script type="text/javascript" src="http://www.gwp.org/templates/javascript/gwp-world-map.js"></script>

<script type="text/javascript">_gwp_launchRegionsPopup("regions-map-popup-link");</script>

This whole code snippet can be placed in the spot where the image should reside – but if necessary (if surrounding markup has styles which affects the layout) the snippet can be divided up.