         attribution: '(c) Esri'
       )
 
-      regionMouseOver = (e) ->
-        r = getRegItem(e.target.feature)
-
-        if r
-          hoverText = r.region + ": " + r[$scope.choroChoice].toPrecision(3) + "%"
+      mouseOver = (e) ->
+        [type,item] = getItem(e.target.feature)
+
+        if item
+          hoverText = item[type] + ": " + item[$scope.choroChoice].toPrecision(3) + "%"
         else
           hoverText = ""
 

      $scope.$watch('choroChoice', (val) ->
        if !val then return

        map.removeLayer(regLayer)
        regLayer.setStyle(style)
        map.addLayer(regLayer)
      )

      $scope.$watch('params.region', (val) ->

          color: '#666'
          fillOpacity: 0.8

      wardMouseOut = (e) ->
        wardLayer.resetStyle(e.target)
        $scope.$apply (scope) ->
          scope.hoverText = ""

      regionMouseOut = (e) ->
        regLayer.resetStyle(e.target)
