I'm attempting to add the C.C. widget (4.9) to a container DIV in my app. It works fine when I instantiate the widget using the default options, e.g.:
var coordsWidget = new CoordinateConversion({
container: "coordsDiv",
view: view
});
However, when I try to add a custom coordinate format, I get an error in dojo.js that indicates some clash in naming of DOM nodes (I think)...
When I remove the container property, and add the C.C. widget directly to the MapView.UI, using the same code for adding of the custom coordinate format, it works fine.
Any thoughts? Attached is the full text of the error from the console for reference..