<?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: Print extent problem when printing include extent with &amp;quot;international date line&amp;quot; in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-extent-problem-when-printing-include-extent/m-p/359427#M33333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;Hi Piterson,&amp;nbsp;I met this issue before, and resolved it finally.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;I use ArcGIS API for JavaScript 3.2. 'esri/tasks/PrintTask' class.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: inherit;"&gt;The solution is: don't define Parameters.outSpatialReference in printTask.execute function.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;I think somehow this is a bug in exportWebMap service. in mapOptions the spatialReference and outSpatialReference are transformed to wkt. and if you define outSpatialReference, it isn't transformed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Jul 2017 05:29:32 GMT</pubDate>
    <dc:creator>phoebezhang</dc:creator>
    <dc:date>2017-07-28T05:29:32Z</dc:date>
    <item>
      <title>Print extent problem when printing include extent with "international date line"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-extent-problem-when-printing-include-extent/m-p/359425#M33331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We noticed a strange problem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We created additional&amp;nbsp;print service to print our web map.&lt;/P&gt;&lt;P&gt;It works ok except&amp;nbsp;extent problem when printing a map with extent including "international date line" (or&amp;nbsp;+/-180 (dateline)) (or&amp;nbsp;the horizon of the coordinate system) - (it ok for Europe or Africa).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;We zoom in on our web map to see only New Zealand (include&amp;nbsp;&lt;SPAN&gt;"international date line" or what is a correct&amp;nbsp;name?) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Press print - the printout has wrong extent - include all world.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even we do NOT include our own data (switch off all data layers) and print ESRI basemap - the extent is still wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We set in mxd template &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt; MainMap -&amp;gt; Properties -&amp;gt;CoordinateSystem: WGS 84 Web Mercator auxilary &amp;nbsp;wkid: 3857.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;gt; MainMap -&amp;gt;Properties-&amp;gt;DataFrame-&amp;gt;Extent-&amp;gt; Automatic&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help please.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 23:53:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-extent-problem-when-printing-include-extent/m-p/359425#M33331</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-12-15T23:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Print extent problem when printing include extent with "international date line"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-extent-problem-when-printing-include-extent/m-p/359426#M33332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe wrong&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;CoordinateSystem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 20:02:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-extent-problem-when-printing-include-extent/m-p/359426#M33332</guid>
      <dc:creator>PitersonPaulgek</dc:creator>
      <dc:date>2016-12-19T20:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Print extent problem when printing include extent with "international date line"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-extent-problem-when-printing-include-extent/m-p/359427#M33333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;Hi Piterson,&amp;nbsp;I met this issue before, and resolved it finally.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;I use ArcGIS API for JavaScript 3.2. 'esri/tasks/PrintTask' class.&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;&lt;STRONG style="border: 0px; font-weight: bold; font-size: inherit;"&gt;The solution is: don't define Parameters.outSpatialReference in printTask.execute function.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #242729; background-color: rgba(248, 248, 248, 0.6); border: 0px; font-size: 15px; margin: 0px 0px 1em;"&gt;I think somehow this is a bug in exportWebMap service. in mapOptions the spatialReference and outSpatialReference are transformed to wkt. and if you define outSpatialReference, it isn't transformed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jul 2017 05:29:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-extent-problem-when-printing-include-extent/m-p/359427#M33333</guid>
      <dc:creator>phoebezhang</dc:creator>
      <dc:date>2017-07-28T05:29:32Z</dc:date>
    </item>
  </channel>
</rss>

