<?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 How to properly generate map image on client-side using html2canvas? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-properly-generate-map-image-on-client-side/m-p/285050#M26280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using js api 3.x and that html2canvas library to generate map image on&amp;nbsp;the client side. If I add a feature to the map and generate the image, all goes well. But,&amp;nbsp;if I add a feature to the map, pan the map a little, the feature doesn't show in the final image. If I zoom in or out and try to generate the image again, the feature is shown in the final image. Have any of you used successfully this library to generate map image?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use the Print widget to create the image on the server&amp;nbsp;because I get an error with the message "Not enough memory to create requested bitmap". This error started after I publish a Mapserver of an&amp;nbsp;orthophoto.&amp;nbsp;Although I have generated the cache, it seems the server is not using the cache to create the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;BR /&gt;I have found that the issue happens only on google chrome, but it all works well on firefox. But, I still have no clue how to solve it on chrome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jan 2018 11:15:28 GMT</pubDate>
    <dc:creator>CarlosNantes</dc:creator>
    <dc:date>2018-01-23T11:15:28Z</dc:date>
    <item>
      <title>How to properly generate map image on client-side using html2canvas?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-properly-generate-map-image-on-client-side/m-p/285050#M26280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using js api 3.x and that html2canvas library to generate map image on&amp;nbsp;the client side. If I add a feature to the map and generate the image, all goes well. But,&amp;nbsp;if I add a feature to the map, pan the map a little, the feature doesn't show in the final image. If I zoom in or out and try to generate the image again, the feature is shown in the final image. Have any of you used successfully this library to generate map image?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't use the Print widget to create the image on the server&amp;nbsp;because I get an error with the message "Not enough memory to create requested bitmap". This error started after I publish a Mapserver of an&amp;nbsp;orthophoto.&amp;nbsp;Although I have generated the cache, it seems the server is not using the cache to create the image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;BR /&gt;I have found that the issue happens only on google chrome, but it all works well on firefox. But, I still have no clue how to solve it on chrome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 11:15:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-properly-generate-map-image-on-client-side/m-p/285050#M26280</guid>
      <dc:creator>CarlosNantes</dc:creator>
      <dc:date>2018-01-23T11:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to properly generate map image on client-side using html2canvas?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-properly-generate-map-image-on-client-side/m-p/285051#M26281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have solved the problem changing map.navigationMode to 'classic'. Previously, it was '&lt;SPAN style="color: #4d4d4d; background-color: #fafafa;"&gt;css-transforms'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;It seems that &lt;A href="https://github.com/niklasvh/html2canvas/issues/184"&gt;css transforms aren't supported yet by html2canvas&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jan 2018 12:33:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-properly-generate-map-image-on-client-side/m-p/285051#M26281</guid>
      <dc:creator>CarlosNantes</dc:creator>
      <dc:date>2018-01-23T12:33:44Z</dc:date>
    </item>
  </channel>
</rss>

