<?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: The key-down event invalid in zoom out when using ARCGIS JavaScript in EPSG:3826 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-key-down-event-invalid-in-zoom-out-when-using/m-p/1364881#M83222</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to specify the spatialReference for the view's extent as the following:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var view = new MapView({
  container: "divmap",
  map: map,
  zoom: 3,
  extent: {
    xmin: 296938.73458000005,
    ymin: 2776832.77203,
    xmax: 301876.2566600001,
    ymax: 2781271.34259,
    spatialReference: {
      wkid: 102443
    }
  },
  crossOrigin: 'anonymous',
  spatialReference: {
    wkid: 102443
  }
 });&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 28 Dec 2023 22:03:57 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2023-12-28T22:03:57Z</dc:date>
    <item>
      <title>The key-down event invalid in zoom out when using ARCGIS JavaScript in EPSG:3826</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-key-down-event-invalid-in-zoom-out-when-using/m-p/1364274#M83206</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I am a newbie to ARCGIS JAVASCRIPT. And I meet a problem when the tileLayer load in, and the zoom controller I set in the top-right is not work well. The plus button can only be invoked event two or three times,&amp;nbsp; and then not working any more, and the minus button can work well. In another aspect of moues, the&amp;nbsp;&lt;SPAN&gt;mouse-wheel event can zoom out/in in perfect behavior.&amp;nbsp; my version is 4.10, my environment is node.js with express, the code snippet is as following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;const basemap = new Basemap({&lt;BR /&gt;baseLayers: [&lt;BR /&gt;new TileLayer({&lt;BR /&gt;url: "&lt;A href="https://arcgis.tpgos.gov.taipei/arcgis/rest/services/ED/GD_Plain_Service/MapServer" target="_blank" rel="noopener"&gt;https://arcgis.tpgos.gov.taipei/arcgis/rest/services/ED/GD_Plain_Service/MapServer&lt;/A&gt;",&lt;BR /&gt;title: "Basemap",&lt;BR /&gt;crossOrigin: 'anonymous',&lt;BR /&gt;spatialReference: {&lt;BR /&gt;wkid: 102443&lt;BR /&gt;}&lt;BR /&gt;})&lt;BR /&gt;],&lt;BR /&gt;title: "basemap",&lt;BR /&gt;id: "basemap",&lt;BR /&gt;spatialReference: {&lt;BR /&gt;wkid: 102443&lt;BR /&gt;}&lt;BR /&gt;});&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;// Create a map using the MapImageLayer&lt;BR /&gt;var map = new Map({&lt;BR /&gt;basemap: basemap&lt;BR /&gt;});&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;BR /&gt;var view = new MapView({&lt;BR /&gt;container: "divmap",&lt;BR /&gt;map: map,&lt;BR /&gt;zoom: 3,&lt;BR /&gt;extent: {&lt;BR /&gt;xmin: 296938.73458000005,&lt;BR /&gt;ymin: 2776832.77203,&lt;BR /&gt;xmax: 301876.2566600001,&lt;BR /&gt;ymax: 2781271.34259,&lt;BR /&gt;},&lt;BR /&gt;crossOrigin: 'anonymous',&lt;BR /&gt;spatialReference: {&lt;BR /&gt;wkid: 102443&lt;BR /&gt;} // Set the spatial reference&lt;BR /&gt;//spatialReference: { wkid: 102100 } // Set the spatial reference&lt;BR /&gt;});&lt;BR /&gt;view.ui.move("zoom", "top-right");&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;is anyone know the exactly reason? and how to fix that, thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Dec 2023 07:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-key-down-event-invalid-in-zoom-out-when-using/m-p/1364274#M83206</guid>
      <dc:creator>AbramhumHsu</dc:creator>
      <dc:date>2023-12-26T07:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: The key-down event invalid in zoom out when using ARCGIS JavaScript in EPSG:3826</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-key-down-event-invalid-in-zoom-out-when-using/m-p/1364881#M83222</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to specify the spatialReference for the view's extent as the following:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var view = new MapView({
  container: "divmap",
  map: map,
  zoom: 3,
  extent: {
    xmin: 296938.73458000005,
    ymin: 2776832.77203,
    xmax: 301876.2566600001,
    ymax: 2781271.34259,
    spatialReference: {
      wkid: 102443
    }
  },
  crossOrigin: 'anonymous',
  spatialReference: {
    wkid: 102443
  }
 });&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 28 Dec 2023 22:03:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/the-key-down-event-invalid-in-zoom-out-when-using/m-p/1364881#M83222</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2023-12-28T22:03:57Z</dc:date>
    </item>
  </channel>
</rss>

