﻿// JScript File

/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Function		getPoint()
Description:	event handler to enter data for a selected point
Arguments:		
Return:			none
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
function getPoint(mode){
	PointMode = mode;
	switch (PointMode){
	case "StreetSign":
		alert("Pick point for Sign Pole Location");
		break;
	case "CurbMaint":
		alert("Pick point for the Curb Maintenance Location");
		break;
	case "SidewalkMaint":
		alert("Pick point for the Sidewalk Maintenance Location");
		break;
	case "GypsyMoth":
		alert("Pick point for the Gypsy Moth Egg Mass Location");
		break;
	case "StreetTree":
		alert("Pick point for the Street Tree Location");
		break;
	case "ParkTree":
		alert("Pick point for the Park Tree Location");
		break;
	case "PDIncident":
		alert("Pick point for the Incident Location");
		break;
	case "MainBreak":
		alert("Pick point for the Water Main Break Location");
		break;
	default:
		alert("Pick a Point");
	}
	var myMap = getMap();
	myMap.digitizePoint();
}

