I create a simple graphic layer, add a "clip-path" property to it, and clippath does not work. Is there anything in ArcGIS Javascript API preventing a custom clip-path from working?
More details:
I use version 3.3 of the API.
I use jQuery to manipulate the DOM and create a <clipPath> SVG element and then add a reference to it to the graphic layer's <g> element. Here is what my code looks like:
I have solved the problem by replacing jQuery with d3. The d3-generated code looks exactly the same as the one generated by jQuery. However, it works now. Go figure!