// aimsResource.js /* * JavaScript resource file for ArcIMS HTML Viewer * arrays containing display text * This file can be swapped out with appropriate language translation */ var themeList = new Array(); var msgList = new Array(); var unitList = new Array(); var sUnitList = new Array(); var modeList = new Array(); var titleList = new Array(); var buttonList = new Array(); // ArcIMSparam.js - msgList msgList[0] = "Unable to load one of the following Javascript Libraries:\naimsCommon.js\naimsXML.js\naimsMap.js"; // aimsCommon.js - msgList msgList[1] = "No request for Limit Extent"; msgList[2] = "Unable to start. Required HTML Form missing (jsForm.htm)."; msgList[3] = "Current Extent:\nLeft: "; msgList[4] = "\nBottom: "; msgList[5] = "\nRight: "; msgList[6] = "\nTop: "; msgList[7] = "\n\nRatio to Full Extent: "; // aimsXML.js - msgList msgList[8] = "ServiceName: "; msgList[9] = "\nArcXML Request:\n "; msgList[10] = "Response from previous request(s) not received."; msgList[11] = "Form for posting request not found. Unable to communicate with server."; msgList[12] = "Sending:\n\n"; msgList[13] = "ArcXML Response:\n "; msgList[14] = "Unable to display MapService\n"; msgList[15] = "Cannot send request"; msgList[16] = "Unable to display Overview Map MapService\n"; msgList[17] = "Unable to set parameters"; msgList[18] = "Unable to get image for click positions."; msgList[19] = "\nUnable to execute response."; // aimsLayers.js - msgList msgList[20] = " is now the Active Layer"; msgList[21] = "Unable to obtain Field names.\nUnable to query layer."; msgList[22] = "Name:"; msgList[23] = "Id:"; msgList[24] = "Type:"; msgList[25] = "Extent:"; msgList[26] = "Min Scale:"; msgList[27] = "Max Scale:"; msgList[28] = "Fields:"; msgList[29] = "Size:"; msgList[30] = "Precision:"; msgList[31] = "Unknown"; msgList[32] = "String"; msgList[33] = "Id"; msgList[34] = "Shape"; msgList[35] = "Integer"; msgList[36] = "Double"; msgList[37] = "Boolean"; msgList[38] = "Floating"; msgList[39] = "Small Integer"; msgList[40] = "BLOB"; msgList[41] = "Date"; msgList[42] = "None"; msgList[43] = "Address Match"; msgList[44] = "No"; // aimsDHTML.js - msgList msgList[45] = "A MapService must be loaded"; // aimsClick.js - msgList msgList[46] = "Cannot query MapService\nIdentify, Select, and Query functions are disabled."; msgList[47] = "This layer does not have any Hyperlinks."; msgList[48] = "No selected features to buffer."; msgList[49] = "Buffer Mode disabled."; msgList[50] = "Legend Library (aimsLegend.js) not loaded."; msgList[51] = "Function not enabled."; // aimsNavigation.js - msgList msgList[52] = "Map: "; msgList[53] = "Image: "; msgList[54] = "ScaleFactor: "; // aimsCustom.js - msgList msgList[55] = "Unknown Mode:"; msgList[56] = "\nUnable to execute request."; // aimsGeocode.js - msgList msgList[57] = "Locate Results"; msgList[58] = "Address"; msgList[59] = "Score"; msgList[60] = "Unable to locate address"; // aimsIdentify.js - msgList msgList[61] = "Previous "; msgList[62] = " Records"; msgList[63] = "More Records"; msgList[64] = "No Features found."; msgList[65] = "Returned ArcXML Response:"; msgList[66] = "Server returned:"; msgList[67] = "Hyperlink to "; msgList[68] = "Unable to hyperlink with submitted request."; msgList[69] = "Unable to hyperlink."; // aimsSelect.js - msgList msgList[70] = "Measure Totals cleared."; msgList[71] = "Selection cleared."; // aimsQuery.js - msgList msgList[72] = "Field"; msgList[73] = "Operator"; msgList[74] = "Requesting sample values for the layer "; msgList[75] = "The first "; msgList[76] = " records are being accessed. There may be duplicate values."; msgList[77] = ":\nThis layer does not have any StoredQueries."; msgList[78] = "Search"; msgList[79] = "Search is Case-Sensitive"; msgList[80] = "Unable to build Query String."; // aimsBuffer.js - msgList msgList[81] = "Distance must be at least zero.\\nStart all numbers less than one with a leading zero."; msgList[82] = "Highlight features from "; msgList[83] = " within a distance of "; msgList[84] = " around the selected features of "; msgList[85] = "Display Attributes"; msgList[86] = "Rec"; // addmatch.htm - msgList msgList[87] = "No Layer"; msgList[88] = "Layer"; msgList[89] = "Please enter a string"; msgList[90] = "Enter String to Find in "; msgList[91] = "Cancelled."; msgList[92] = "Find String"; // select.htm - msgList msgList[93] = "A minimum of two points are required."; msgList[94] = "A minimum of three points are required."; msgList[95] = "Select with Line or Polygon"; // printForm.htm msgList[96] = "Click on \"Create Print Page\" to open a new Browser window with the Map Image,"; msgList[97] = "Overview Map Image, and Legend displayed. You can then use the File/Print menu item"; msgList[98] = "to send the display to your printer."; msgList[99] = "Please enter a string"; msgList[100] = "The modules available on this site make extensive use of JavaScript
and requires a 4.0 or newer Browser.
Internet Explorer is not supported on the Macintosh."; // default.htm msgList[101] = " is not visible due to scale and features cannot be selected.\n\nZoom to a scale where the layer is visible.\n\n"; msgList[102] = " is not visible and features cannot be selected.\n\nCheck Visible for "; msgList[103] = "Check Visible for the layer and click Refresh Map."; msgList[104] = "The Active Layer "; msgList[105] = "At least one point is required"; msgList[106] = "Buffer Shape"; msgList[107] = "Buffer Size:"; msgList[108] = " and click Refresh Map."; msgList[109] = "No operator in query"; msgList[110] = "Query expression is blank.\nNo features have been selected."; msgList[111] = "No Layers visible."; msgList[112] = "No features found at click location."; msgList[113] = "Loading Viewer. . ."; msgList[114] = "No hyperlinks defined for any of the visible layers."; msgList[115] = "No Hyperlinks defined."; msgList[116] = "No hyperlink defined for at click location"; msgList[117] = "Retrieving Data. . ."; msgList[118] = "Retrieving Map. . ."; msgList[119] = "You are not authorized to make map requests to this MapService."; msgList[120] = "Debug Mode On"; msgList[121] = "Debug Mode Off"; msgList[122] = " records are being accessed. Duplicate values will be sorted out, resulting in fewer samples."; // added field types msgList[123] = "CLOB"; msgList[124] = "NVARCHAR"; msgList[125] = "NCLOB"; msgList[126] = ""; msgList[127] = ""; msgList[128] = ""; msgList[129] = ""; msgList[130] = ""; /* msgList[1] = ""; msgList[2] = ""; msgList[3] = ""; msgList[4] = ""; msgList[5] = ""; msgList[6] = ""; msgList[7] = ""; msgList[8] = ""; msgList[9] = ""; msgList[0] = ""; */ unitList[0] = "DEGREES"; unitList[1] = "FEET"; unitList[2] = "MILES"; unitList[3] = "METERS"; unitList[4] = "KILOMETERS"; sUnitList[0] = "DEGREES"; sUnitList[1] = "FEET"; sUnitList[2] = "MILES"; sUnitList[3] = "METERS"; sUnitList[4] = "KILOMETERS"; modeList[0] = "Zoom In"; modeList[1] = "Zoom Out"; modeList[2] = "Pan"; modeList[3] = "Identify"; modeList[4] = "Select Rectangle"; modeList[5] = "Select Point"; modeList[6] = "Select Line"; modeList[7] = "Select Polygon"; modeList[8] = "Select Line/Polygon"; modeList[9] = "Hyperlink"; modeList[10] = "Select Shape"; modeList[11] = "Buffer Shape"; modeList[12] = "Measure"; modeList[13] = "Create Shape"; modeList[14] = "Locate Address"; modeList[15] = "Query"; modeList[16] = "Search"; modeList[17] = "Find"; modeList[18] = "Buffer"; modeList[19] = "Identify All"; // jcarter 6/14/2006 modeList[20] = "Get more detail about an object pointed to on the map"; //modeList[20] = "ID Visible Features"; // end jcarter modeList[21] = "Get Address"; // jcarter 6/14/2006 titleList[0] = "City of Chicago - Geographic Information System"; //titleList[0] = "ArcIMS HTML Viewer"; // end jcarter titleList[1] = "Current Active Layer"; // aimsLayers.js titleList[2] = "Layer Information"; titleList[3] = "Legend"; // aimsLegend.js // jcarter 6/14/2006 titleList[4] = "City of Chicago - Geographic Information System"; // aimsPrint.js titleList[4] = "ArcIMS HTML Viewer Map"; // aimsPrint.js // end jcarter titleList[5] = "Map Output"; titleList[6] = "Address Match Candidates"; // aimsGeocode.js titleList[7] = "Query/Selection Results"; // aimsIdentify.js titleList[8] = "Select Results"; titleList[9] = "Hyperlink Results"; titleList[10] = "Buffer Results"; // aimsBuffer.js titleList[11] = "Address Matching"; // aimsGeocode.js titleList[12] = "Toolbar"; titleList[13] = "Layers"; titleList[14] = " Visible "; titleList[15] = " Active "; titleList[16] = "Display Units"; // setUnits.htm titleList[17] = "Map Units"; titleList[18] = "PrintForm"; // printForm.htm titleList[19] = "Title to display on Map:
"; titleList[20] = "ArcIMS HTML Viewer Map"; titleList[21] = "Print Map"; titleList[22] = "Selected Features";; titleList[23] = "Highlighted Feature"; titleList[24] = "theBufferTarget"; titleList[25] = "theBufferPolygons"; titleList[26] = "theBufferTarget"; titleList[27] = "theBuffer"; titleList[28] = ""; titleList[29] = ""; titleList[30] = ""; /* titleList[0] = ""; titleList[1] = ""; titleList[2] = "";; titleList[3] = ""; titleList[4] = ""; titleList[5] = ""; titleList[6] = ""; titleList[7] = ""; titleList[8] = ""; titleList[9] = ""; */ buttonList[0] = "Hide Legend"; // aimsLegend.js buttonList[1] = "Locate Another Address"; // aimsGeocode.js buttonList[2] = "Value"; // aimsQuery.js buttonList[3] = "Sample Values"; buttonList[4] = "Get Samples"; buttonList[5] = "Add to Query String"; buttonList[6] = "Execute"; buttonList[7] = "Undo"; buttonList[8] = "Clear"; buttonList[9] = "Create Buffer"; // aimsBuffer.js buttonList[10] = "Yes"; buttonList[11] = "No"; buttonList[12] = "Select Layer"; // addmatch.htm buttonList[13] = "Locate"; buttonList[14] = "Show / Hide left-hand legend"; // toolbar.htm buttonList[15] = "Show / hide overview guide"; buttonList[16] = "Zoom In - Select larger map view"; buttonList[17] = "Zoom Out - Select smaller map view"; buttonList[18] = "Zoom to City of Chicago Boundary"; buttonList[19] = "Zoom to Active Layer"; buttonList[20] = "Back to last zoom"; buttonList[21] = "Drag the map right, left, up or down"; buttonList[22] = "Pan to North"; buttonList[23] = "Pan to South"; buttonList[24] = "Pan to West"; buttonList[25] = "Pan to East"; buttonList[26] = "HyperLink"; buttonList[27] = "Identify"; buttonList[28] = "Query"; buttonList[29] = "Search"; buttonList[30] = "Search for address"; buttonList[31] = "Measure distance"; buttonList[32] = "Set Units"; buttonList[33] = "Buffer"; buttonList[34] = "Select by Rectangle"; buttonList[35] = "Select by Line/Polygon"; buttonList[36] = "Clear highlighted objects from query/selections"; buttonList[37] = "Locate Address"; buttonList[38] = "Create printable map view"; buttonList[39] = "Extract"; buttonList[40] = "Options"; buttonList[41] = "Load MapService"; buttonList[42] = "Hide LayerList"; // toc.htm buttonList[43] = "Info"; buttonList[44] = "Refresh Map"; buttonList[45] = " Restart "; // select.htm buttonList[46] = " Delete Last Point "; buttonList[47] = " Complete Line & Select "; buttonList[48] = "Complete Polygon & Select"; buttonList[49] = "Cancel"; // setUnits.htm buttonList[50] = "Create Print Page"; // printForm.htm buttonList[51] = "Buffer Point & Select"; buttonList[52] = "Buffer Line & Select"; buttonList[53] = "Complete Polygon, Buffer, Select"; buttonList[54] = "Use Point to Select"; buttonList[55] = "Get Address @ Click"; buttonList[56] = "Find Route"; buttonList[57] = "Turn on help page"; buttonList[58] = "Toggle on/off aerial"; buttonList[59] = ""; buttonList[60] = ""; /* * * Create a Theme and associated layers * */ var baseTheme = new Array(); baseTheme[0] = "Buildings"; baseTheme[1] = "Parcels"; baseTheme[2] = "Municipalities"; baseTheme[3] = "City Boundary"; baseTheme[4] = "Forest Preserves"; baseTheme[5] = "Cemeteries"; baseTheme[6] = "Parks"; baseTheme[7] = "Lake Michigan"; baseTheme[8] = "Rivers"; baseTheme[9] = "Major Streets"; baseTheme[10] = "Streets(All)"; baseTheme[11] = "Highways"; baseTheme[12] = "Street Names"; var libraryTheme = new Array(); libraryTheme[0] = "Libraries"; var seniorTheme = new Array(); seniorTheme[0] = "Aging CMU Areas"; seniorTheme[1] = "Senior Fitness Resources"; seniorTheme[2] = "Warm and Cooling Centers"; seniorTheme[3] = "Golden Diners"; seniorTheme[4] = "Senior Centers"; seniorTheme[5] = "DOH Rental"; seniorTheme[6] = "Senior Housing"; var bikesTheme = new Array(); bikesTheme[0] = "CTA Line"; bikesTheme[1] = "Metra Lines"; bikesTheme[2] = "Bike Routes"; bikesTheme[3] = "Colleges"; bikesTheme[4] = "Colleges"; bikesTheme[5] = "Schools"; bikesTheme[6] = "Bus Stops"; bikesTheme[7] = "CTA Station"; bikesTheme[8] = "Metra Stations"; var leadTheme = new Array(); leadTheme[0] = "Lead Inspections"; var tmaTheme = new Array(); tmaTheme[0] = "Traffic Volume (ADT)"; var liquorTheme = new Array(); liquorTheme[0] = "Vote Dry Precincts"; liquorTheme[1] = "Taverns"; liquorTheme[2] = "Packaged Goods"; liquorTheme[3] = "Community Areas"; liquorTheme[4] = "Wards"; liquorTheme[5] = "Zipcode"; liquorTheme[6] = "School Grounds"; var metersTheme = new Array(); metersTheme[0] = "Parking Meters"; metersTheme[1] = "Wards"; metersTheme[2] = "Zipcode"; var stCloseMonthTheme = new Array(); stCloseMonthTheme[0] = "Street Closures 30 Days"; var stCloseTodayTheme = new Array(); stCloseTodayTheme[0] = "Street Closures Today"; var ptStCloseTodayTheme = new Array(); ptStCloseTodayTheme[0] = "Partial Closures Today"; var ptStCloseWeekTheme = new Array(); ptStCloseWeekTheme[0] = "Partial Closures 7 Days"; var recyclingTheme = new Array(); recyclingTheme[0] = "Recycling Areas"; recyclingTheme[1] = "Recycling Drop-Off Site"; var farmTheme = new Array(); farmTheme[0] = "Farmers Markets"; var centralDevTheme = new Array(); centralDevTheme[0] = "Hotels"; centralDevTheme[1] = "Office"; centralDevTheme[2] = "Retail"; centralDevTheme[3] = "Residential"; centralDevTheme[4] = "Other"; var specialEventsTheme = new Array(); specialEventsTheme[0] = "Hospitals"; specialEventsTheme[1] = "Police Districts"; specialEventsTheme[2] = "Wards"; specialEventsTheme[3] = "Churches"; specialEventsTheme[4] = "Street Closures Today"; specialEventsTheme[5] = "Street Closures 30 Days"; var technologyTheme = new Array(); technologyTheme[0] = "Technology Sites"; var techInternetTheme = new Array(); techInternetTheme[0] = "Internet Sites"; var techWifiTheme = new Array(); techWifiTheme[0] = "WiFi Sites" var techTrainingTheme = new Array(); techTrainingTheme[0] = "Technology Training Sites"; /* * * Populate Theme Name and Layers * */ var themeObj = new Object; themeObj['BASE'] = baseTheme; themeObj['LIBRARY'] = libraryTheme; themeObj['SENIOR'] = seniorTheme; themeObj['BIKES'] = bikesTheme; themeObj['LEAD'] = leadTheme; themeObj['TMA'] = tmaTheme; themeObj['LIQUOR'] = liquorTheme; //themeObj['METERS'] = metersTheme; themeObj['30DAYCLOSURES'] = stCloseMonthTheme; themeObj['TODAYCLOSURES'] = stCloseTodayTheme; themeObj['PARTIALTODAYCLOSURES'] = ptStCloseTodayTheme; themeObj['PARTIAL7DAYCLOSURES'] = ptStCloseWeekTheme; themeObj['RECYCLING'] = recyclingTheme; themeObj['FARMERSMARKETS'] = farmTheme; themeObj['CENTRALDEVELOPMENT'] = centralDevTheme; themeObj['SPECIALEVENTS'] = specialEventsTheme; themeObj['TECHSITES'] = technologyTheme; themeObj['TECHINTERNET'] = techInternetTheme; themeObj['TECHWIFI'] = techWifiTheme; themeObj['TECHTRAINING'] = techTrainingTheme; /* themeObj['ALDERMAN'] = aldermanTheme; */