diff --git a/modules/svg/keepRight.js b/modules/svg/keepRight.js index 561bf6970..cf2b46339 100644 --- a/modules/svg/keepRight.js +++ b/modules/svg/keepRight.js @@ -181,6 +181,11 @@ export function svgKeepRight(projection, context, dispatch) { }; + drawKeepRight.supported = function() { + return !!getService(); + }; + + drawKeepRight.visibleErrors = function(_) { if (!arguments.length) return svgKeepRight.visibleErrors; svgKeepRight.visibleErrors.push(_); @@ -194,6 +199,7 @@ export function svgKeepRight(projection, context, dispatch) { }; + init(); return drawKeepRight; }