Get max_distance_at_zoom from integer resource

This is simple cleanup to move max_distance_at_zoom into a resource.