<?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: How can I take a screenshot of a web page that contains an ESRI MapView? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143926#M13393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the screenshot widget available in the Esri GitHub repo.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/screenshot-widget" title="https://github.com/Esri/screenshot-widget"&gt;GitHub - Esri/screenshot-widget: Screenshot widget that captures screenshot images of map extent, a map legend, and/or p…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This widget combines the use of html2canvas with screenshot to print the legend, popup and view.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Dec 2019 19:55:40 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2019-12-08T19:55:40Z</dc:date>
    <item>
      <title>How can I take a screenshot of a web page that contains an ESRI MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143922#M13389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to take a screenshot of a specific section of a web page that contains an ESRI MapView.&amp;nbsp; That MapView contains a FeatureLayer with features built locally on the client side.&amp;nbsp; I have tried using html2canvas, and everything on the page renders correctly, including rendering the map container, but the actual map data does not appear.&amp;nbsp; The Zoom UI tool and the attribution both show up correctly, but the map is just an empty gray box.&amp;nbsp; I have tried running html2canvas with both 'allowTaint: true' and 'useCORS: true', but neither makes a difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone had luck taking a screenshot of a page with an ESRI map embedded in it using html2canvas or any other tool?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the Arcgis JS API version 4.12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 16:48:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143922#M13389</guid>
      <dc:creator>JordanWright</dc:creator>
      <dc:date>2019-12-05T16:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I take a screenshot of a web page that contains an ESRI MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143923#M13390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jordan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Why are you not using the builtin screenshot method in the API?&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#takeScreenshot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 17:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143923#M13390</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-05T17:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can I take a screenshot of a web page that contains an ESRI MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143924#M13391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Robert!&lt;/P&gt;&lt;P&gt;I am trying to take a screenshot of an entire web page, not just the map.&amp;nbsp; As far as I can tell the screenshot method in the API only takes a screenshot of the specified MapView/SceneView.&amp;nbsp; My page has some tables, text, and other images that I want to be in the same screenshot as the map itself.&amp;nbsp; The screenshot needs to include the map and other elements on the page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 18:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143924#M13391</guid>
      <dc:creator>JordanWright</dc:creator>
      <dc:date>2019-12-05T18:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I take a screenshot of a web page that contains an ESRI MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143925#M13392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jordan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;OK. So you can possibly combine the two then.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2019 18:33:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143925#M13392</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-12-05T18:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I take a screenshot of a web page that contains an ESRI MapView?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143926#M13393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the screenshot widget available in the Esri GitHub repo.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/screenshot-widget" title="https://github.com/Esri/screenshot-widget"&gt;GitHub - Esri/screenshot-widget: Screenshot widget that captures screenshot images of map extent, a map legend, and/or p…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This widget combines the use of html2canvas with screenshot to print the legend, popup and view.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Dec 2019 19:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-take-a-screenshot-of-a-web-page-that/m-p/143926#M13393</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-12-08T19:55:40Z</dc:date>
    </item>
  </channel>
</rss>

