/**
 * External JS dependencies:
 * AjaxMap
 *
 * External var dependencies:
 * none!
 */

/**
 * Ajax callback-method for the calls that return a new map image URL that shall be updated.
 */
function resetmapOnButtonClickCallback(newMapData) {
    setMapData(newMapData);
}

/**
 * Resets the map to initial extent (and also sets height and width correct).
 */
function resetmapOnButtonClick(e) {
    AjaxMap.resetMap(getMapWidthInPixels(), getMapHeightInPixels(), resetmapOnButtonClickCallback);
}
