/**
 * 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 removemarkerOnButtonClickCallback(newMapData) {
    setMapData(newMapData);
}

/**
 * Resets the map to initial extent (and also sets height and width correct).
 */
function removemarkerOnButtonClick(e) {
    AjaxMap.removeMarker(removemarkerOnButtonClickCallback);
}
