<?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: Scrolling down a page with a map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553505#M51634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is that group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2016 16:32:49 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2016-05-18T16:32:49Z</dc:date>
    <item>
      <title>Scrolling down a page with a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553500#M51629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;I'm using version 4.0 of the ArcGIS API for my maps. I have this problem with maps whenever the page has to be scrolled down to view the map. My map is somewhere in the middle of the page so the user has to scroll down to view it. Then if a certain point was clicked on the map or if a certain area in dragged to zoom in, the pointers the map shows as selection are not the exact points the mouse is pointing at. it points to a location above the mouse pointer.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;Here is a sample code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, sans-serif;"&gt;&amp;nbsp; &amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;meta charset="utf-8"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;title&amp;gt;Add the Compass widget to a basic 2D map - 4.0&amp;lt;/title&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;style&amp;gt;&lt;BR /&gt;&amp;nbsp; html,&lt;BR /&gt;&amp;nbsp; body,&lt;BR /&gt;&amp;nbsp; #viewDiv {&lt;BR /&gt;&amp;nbsp; padding: 0;&lt;BR /&gt;&amp;nbsp; margin: 0;&lt;BR /&gt;&amp;nbsp; height: 100%;&lt;BR /&gt;&amp;nbsp; width: 100%;&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;lt;/style&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.0%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.0/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.0%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.0/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;script&amp;gt;&lt;BR /&gt;&amp;nbsp; require([&lt;BR /&gt;&amp;nbsp; "esri/Map",&lt;BR /&gt;&amp;nbsp; "esri/views/MapView",&lt;BR /&gt;&amp;nbsp; "esri/widgets/Compass",&lt;BR /&gt;&amp;nbsp; "dojo/domReady!"&lt;BR /&gt;&amp;nbsp; ],&lt;BR /&gt;&amp;nbsp; function(&lt;BR /&gt;&amp;nbsp; Map,&lt;BR /&gt;&amp;nbsp; MapView,&lt;BR /&gt;&amp;nbsp; Compass&lt;BR /&gt;&amp;nbsp; ) {&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; var map = new Map({&lt;BR /&gt;&amp;nbsp; basemap: "national-geographic"&lt;BR /&gt;&amp;nbsp; });&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; var view = new MapView({&lt;BR /&gt;&amp;nbsp; container: "viewDiv",&lt;BR /&gt;&amp;nbsp; scale: 500000,&lt;BR /&gt;&amp;nbsp; center: [26.26, 39.17],&lt;BR /&gt;&amp;nbsp; map: map&lt;BR /&gt;&amp;nbsp; });&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; /********************************&lt;BR /&gt;&amp;nbsp; * Create a compass widget object.&lt;BR /&gt;&amp;nbsp; *********************************/&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; var compassWidget = new Compass({&lt;BR /&gt;&amp;nbsp; view: view&lt;BR /&gt;&amp;nbsp; });&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // Add the Compass widget to the top left corner of the view&lt;BR /&gt;&amp;nbsp; view.ui.add(compassWidget, "top-left");&lt;BR /&gt;&amp;nbsp; });&lt;BR /&gt;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;lt;!-- add div for test--&amp;gt;&lt;BR /&gt;&amp;lt;div style="height:500px;"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;div id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: rgba(248, 248, 248, 0.6); color: #242729; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;"&gt;If you run this code you'll see if you scroll down and drag an area (by holding shift and dragging the mouse) it will drag an area above your selection.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 08:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553500#M51629</guid>
      <dc:creator>UdyWa</dc:creator>
      <dc:date>2016-05-18T08:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling down a page with a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553501#M51630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should &lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-2258"&gt;move&lt;/A&gt; this over to the JavaScript discussion group to get better visibility.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sounds like an issue that was plaguing 3.x with resize/reposition, but that was supposed to be solved in 4.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/94977"&gt;Mouse Wheel Zooms in Wrong Place Until Window Resize&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/43662"&gt;Map Navigation Mouse Offset?&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 16:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553501#M51630</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2016-05-18T16:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling down a page with a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553502#M51631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im new to here &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; so could you please post the link to that forum so I can post this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 16:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553502#M51631</guid>
      <dc:creator>UdyWa</dc:creator>
      <dc:date>2016-05-18T16:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling down a page with a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553503#M51632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, I don't have the privileges to do that. The move link has the instructions on how to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 16:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553503#M51632</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2016-05-18T16:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling down a page with a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553504#M51633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is this '&lt;SPAN class="font-color-meta jive-content-personal" style="font-size: 13.7136px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: rgba(132, 132, 132, 0.0392157);"&gt;&lt;A _jive_internal="true" class="jivecontainerTT-hover-container j-container" data-uri="https://community.esri.com/api/core/v3/places/148899" href="https://community.esri.com/community/developers/web-developers/arcgis-api-for-javascript" style="font-weight: inherit; font-style: inherit; font-size: 13.7136px; font-family: inherit; color: #8ca9cd;"&gt;ArcGIS API for JavaScript&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #8b8b8b; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 13.7136px; background-color: rgba(132, 132, 132, 0.0392157);"&gt; &lt;/SPAN&gt;'? I already have the same question there as well. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 16:23:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553504#M51633</guid>
      <dc:creator>UdyWa</dc:creator>
      <dc:date>2016-05-18T16:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling down a page with a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553505#M51634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is that group.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 16:32:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553505#M51634</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2016-05-18T16:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Scrolling down a page with a map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553506#M51635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like this has been resolved in version 4.2. &amp;nbsp;Try using 4.2 instead of 4.0 and see if that resolves the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2016 20:26:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scrolling-down-a-page-with-a-map/m-p/553506#M51635</guid>
      <dc:creator>JustinGreco</dc:creator>
      <dc:date>2016-12-19T20:26:33Z</dc:date>
    </item>
  </channel>
</rss>

