function chooseColor(ddelegacion) {
  switch (ddelegacion) {
  case "VENUSTIANO CARRANZA":
    return "yellow";
  case "CUAUHTEMOC":
    return "red";
  case "MIGUEL HIDALGO":
    return "orange";
  case "IZTAPALAPA":
    return "green";
  case "AZCAPOTZALCO":
    return "purple";
  case 'GUSTAVO A MADERO':
    return 'blue';
  case 'COYOACAN':
    return 'grey';
  case 'BENITO JUAREZ':
    return 'teal';
  case 'IZTACALCO':
    return 'pink';
  case 'TLAHUAC':
    return 'brown';
  case 'MILPA ALTA':
    return 'fuchsia';
  case 'TLALPAN':
    return 'silver';
  case 'CUAJIMALPA':
    return 'lime';
  case 'ALVARO OBREGON':
    return 'olive';
  case 'MAGDALENA CONTRERAS':
    return 'navy';
  default:
    return "black";
  }
}
// Function that will determine the color of a neighborhood based on the delegacion it belongs to
Function that will determine the color of a neighborhood based on the delegacion it belongs to
Function that will determine the color of a neighborhood based on the delegacion it belongs to
function chooseColor(ddelegacion) {
  switch (ddelegacion) {
  case "VENUSTIANO CARRANZA":
    return "yellow";
  case "CUAUHTEMOC":
    return "red";
  case "MIGUEL HIDALGO":
    return "orange";
  case "IZTAPALAPA":
    return "green";
  case "AZCAPOTZALCO":
    return "purple";
  case 'GUSTAVO A MADERO':
    return 'blue';
  case 'COYOACAN':
    return 'grey';
  case 'BENITO JUAREZ':
    return 'teal';
  case 'IZTACALCO':
    return 'pink';
  case 'TLAHUAC':
    return 'brown';
  case 'MILPA ALTA':
    return 'fuchsia';
  case 'TLALPAN':
    return 'silver';
  case 'CUAJIMALPA':
    return 'lime';
  case 'ALVARO OBREGON':
    return 'olive';
  case 'MAGDALENA CONTRERAS':
    return 'navy';
  default:
    return "black";
  }
}
function chooseColor ( ddelegacion ) { switch ( ddelegacion ) { case "VENUSTIANO CARRANZA" : return "yellow" ; case "CUAUHTEMOC" : return "red" ; case "MIGUEL HIDALGO" : return "orange" ; case "IZTAPALAPA" : return "green" ; case "AZCAPOTZALCO" : return "purple" ; case 'GUSTAVO A MADERO' : return 'blue' ; case 'COYOACAN' : return 'grey' ; case 'BENITO JUAREZ' : return 'teal' ; case 'IZTACALCO' : return 'pink' ; case 'TLAHUAC' : return 'brown' ; case 'MILPA ALTA' : return 'fuchsia' ; case 'TLALPAN' : return 'silver' ; case 'CUAJIMALPA' : return 'lime' ; case 'ALVARO OBREGON' : return 'olive' ; case 'MAGDALENA CONTRERAS' : return 'navy' ; default : return "black" ; } }
Function that will determine the color of a neighborhood based on the delegacion it belongs to
Function that will determine the color of a neighborhood based on the delegacion it belongs to