Made the zoom thresholds optional to maintain compatibility w current API.