Skip to content

Instantly share code, notes, and snippets.

@kcarrier
Created December 11, 2015 15:38
Show Gist options
  • Save kcarrier/61a64a6cd9dc162728af to your computer and use it in GitHub Desktop.
Save kcarrier/61a64a6cd9dc162728af to your computer and use it in GitHub Desktop.
var template11 = new InfoTemplate();
template11.title = '<b>The location of the red flag<br/>has the following options</b>';
template11.content = '<b>Primary School Options: </b><br/><a href=' + identifyResults.attributes.ES1516WEB + '>' + identifyResults.attributes.ES1516_REV + '</a>' +
'<br/><a href="' + identifyResults.attributes.MS2015WEB + '">' + identifyResults.attributes.MSPlan2015 + '</a>' +
'<br/><a href="' + identifyResults.attributes.HSWEBSITE + '">' + identifyResults.attributes.HS_2010_11 + '</a>' +
'<br/><b>Constituent District Magnet Options:</b>' +
'<br/><a href="' + identifyResults.attributes.CONST1WEB + '">' + identifyResults.attributes.CONST1 + '</a>' +
'<br/><b>Partial Magnet Options:</b>' +
'<br/><a href="' + identifyResults.attributes.PARTMWEB1 + '">' + identifyResults.attributes.PARTMAG1 + '</a>' +
'<br/><b>Countywide Magnet/Charter Options:</b>' +
'<br/><a href="http://www.ccsdschools.com/Schools/Charter.php">Charters Website</a>' +
'<br/><a href="http://www.ccsdschools.com/Schools/Charter.php">Magnets Website</a>';
template = template11;
}
else if (identifyResults.attributes.ZONE == '4-2') {
template = template42;
}
return template.content;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment