This reference documents the Neightborhood Javascript object

Basic Use

var neighborhood = new Neighborhood ({
          map: map,
          type: neighborhood_type,
          name: <?php echo json_encode($taxonomy['name']); ?>,
          slug: <?php echo json_encode($taxonomy['slug']); ?>
        });

Parameters

Parameter Description Example
map
type
strokeColor
strokeOpacity
strokeWeight
fillColor
fillOpacity
neighborhood_override
slug
name