Difference between revisions of "Test"

From A.P.E.S. wiki
Jump to navigation Jump to search
Line 47: Line 47:
 
function forEachFeature(feature, layer) {
 
function forEachFeature(feature, layer) {
  
             var popupContent = "<p><b>STATE: </b>"+ feature.properties.STATE_NAME +
+
             var popupContent = "<p><b>STATE: </b>"+ feature.properties.STATE_NAME +'</p>';
                "</br>REGION: "+ feature.properties.SUB_REGION +
 
                "</br>STATE ABBR: "+ feature.properties.STATE_ABBR +
 
                "</br>POP2010: "+ feature.properties.POP2010.toLocaleString() +
 
                "</br>Pop 2010 per SQMI: "+ feature.properties.POP10_SQMI.toLocaleString() +
 
                "</br>Males: "+ feature.properties.MALES.toLocaleString() +
 
                "</br>Females: "+ feature.properties.FEMALES.toLocaleString() +
 
                "</br>SQ Miles: "+ feature.properties.SQMI.toLocaleString() +'</p>';
 
  
 
             layer.bindPopup(popupContent);
 
             layer.bindPopup(popupContent);

Revision as of 10:10, 25 February 2022