Does a GraphicLayer support clip-path?

Discussion created by alexei_potiagalov on Feb 19, 2013
Latest reply on Feb 20, 2013 by alexei_potiagalov
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:

<clipPath id="leftClippingRegion"><rect id="leftClippingRegionRect" x="0" y="0" width="100" height="700"></rect></clipPath>
<g id="graphicsLayer1_layer" transform="matrix(1.00000000,0.00000000,0.00000000,1.00000000,0.00000000,0.00000000)" style="display: block;" clip-path="url(#leftClippingRegion)">...