new zoom function to detect label opacity based on zoom level
fix where coloring numeric IDs would result in a color scale instead of legend