<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Does a GraphicLayer support clip-path? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-graphiclayer-support-clip-path/m-p/34068#M2807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 18:00:48 GMT</pubDate>
    <dc:creator>AlexeiPotiagalov</dc:creator>
    <dc:date>2013-02-20T18:00:48Z</dc:date>
    <item>
      <title>Does a GraphicLayer support clip-path?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-graphiclayer-support-clip-path/m-p/34067#M2806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;BR /&gt;&lt;LI&gt;I use version 3.3 of the API.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I use jQuery to manipulate the DOM and create a &amp;lt;clipPath&amp;gt; SVG element and then add a reference to it to the graphic layer's &amp;lt;g&amp;gt; element. Here is what my code looks like:&lt;/LI&gt;&lt;BR /&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;clipPath id="leftClippingRegion"&amp;gt;&amp;lt;rect id="leftClippingRegionRect" x="0" y="0" width="100" height="700"&amp;gt;&amp;lt;/rect&amp;gt;&amp;lt;/clipPath&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;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)"&amp;gt;...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 01:23:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-graphiclayer-support-clip-path/m-p/34067#M2806</guid>
      <dc:creator>AlexeiPotiagalov</dc:creator>
      <dc:date>2013-02-20T01:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Does a GraphicLayer support clip-path?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-graphiclayer-support-clip-path/m-p/34068#M2807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;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!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alexei&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:00:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/does-a-graphiclayer-support-clip-path/m-p/34068#M2807</guid>
      <dc:creator>AlexeiPotiagalov</dc:creator>
      <dc:date>2013-02-20T18:00:48Z</dc:date>
    </item>
  </channel>
</rss>

