<?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: Cursor offset after adding navigation toolbar in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529418#M49403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please excuse the formatting of the code below, i can't seem to figure out how to format as code wihin a response..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makes sense that the offset is due to the addition of the tool bar which had pushed everything down a bit. So, I tried that as well. I'm not sure if I'm putting it in the right place, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of these haven't worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On map load:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;window.myMap.on("load", function(){&lt;BR /&gt; require([&lt;BR /&gt; "js/Navigate",&lt;BR /&gt; "js/Search",&lt;BR /&gt; "js/Legend",&lt;BR /&gt; "js/Print",&lt;BR /&gt; "js/Identify",&lt;BR /&gt; ], function() {&lt;BR /&gt; window.myMap.reposition();&lt;BR /&gt; });&lt;BR /&gt; })&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a separate js/Navigate.js file, after starting up buttons on toolbar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require([&lt;BR /&gt; //"esri/map",&lt;BR /&gt; "esri/geometry/Extent",&lt;BR /&gt; "esri/toolbars/navigation",&lt;BR /&gt; "dojo/on",&lt;BR /&gt; //"dojo/parser",&lt;BR /&gt; //"dijit/form/Button",&lt;BR /&gt; //"dijit/registry",&lt;BR /&gt; "dijit/Toolbar",&lt;BR /&gt; "dijit/form/Button",&lt;BR /&gt; //"dojo/domReady!"&lt;BR /&gt;],&lt;BR /&gt;function (Extent, Navigation, on, Toolbar, Button) {&lt;/P&gt;&lt;P&gt;//parser.parse();&lt;/P&gt;&lt;P&gt;var navToolbar;&lt;/P&gt;&lt;P&gt;// map = new Map("map", {&lt;BR /&gt; // basemap: "satellite",&lt;BR /&gt; // center: [-56.953, 57.472],&lt;BR /&gt; // zoom: 3&lt;BR /&gt; // });&lt;BR /&gt; navToolbar = new Navigation(window.myMap);&lt;/P&gt;&lt;P&gt;var zoomInButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoominIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.activate(Navigation.ZOOM_IN);&lt;BR /&gt; }&lt;BR /&gt; }, "zoomin");&lt;BR /&gt; zoomInButton.startup();&lt;/P&gt;&lt;P&gt;var zoomOutButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomoutIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.activate(Navigation.ZOOM_OUT);&lt;BR /&gt; }&lt;BR /&gt; }, "zoomout");&lt;BR /&gt; zoomOutButton.startup();&lt;/P&gt;&lt;P&gt;var zoomFullExtButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomfullextIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt;&lt;SPAN&gt;navToolbar.zoomToFullExtent();&lt;/SPAN&gt;&lt;BR /&gt; }&lt;BR /&gt; }, "zoomfullext");&lt;BR /&gt; zoomFullExtButton.startup();&lt;/P&gt;&lt;P&gt;var zoomPreviousButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomprevIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.zoomToPrevExtent();&lt;BR /&gt; }&lt;BR /&gt; }, "zoomprev");&lt;BR /&gt; zoomPreviousButton.startup();&lt;/P&gt;&lt;P&gt;var zoomNextButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomnextIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.zoomToNextExtent();&lt;BR /&gt; }&lt;BR /&gt; }, "zoomnext");&lt;BR /&gt; zoomNextButton.startup();&lt;/P&gt;&lt;P&gt;var panButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "panIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.activate(Navigation.PAN);&lt;BR /&gt; }&lt;BR /&gt; }, "pan");&lt;BR /&gt; panButton.startup();&lt;/P&gt;&lt;P&gt;var deactivateButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "deactivateIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.deactivate();&lt;BR /&gt; }&lt;BR /&gt; }, "deactivate");&lt;BR /&gt; deactivateButton.startup();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;window.myMap.reposition();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; on(navToolbar, "onExtentHistoryChange", extentHistoryChangeHandler);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function extentHistoryChangeHandler () {&lt;BR /&gt; // registry.byId("zoomprev").disabled = navToolbar.isFirstExtent();&lt;BR /&gt; // registry.byId("zoomnext").disabled = navToolbar.isLastExtent();&lt;BR /&gt; zoomPreviousButton.disabled = navToolbar.isFirstExtent();&lt;BR /&gt; zoomNextButton.disabled = navToolbar.isLastExtent();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 22 Jan 2017 04:14:19 GMT</pubDate>
    <dc:creator>NhuMai</dc:creator>
    <dc:date>2017-01-22T04:14:19Z</dc:date>
    <item>
      <title>Cursor offset after adding navigation toolbar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529416#M49401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having cursor position issues now that I've added a navigation tool bar to my map. This affects not only the window drawn for map zoom, but identifed objects as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've seen this&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/thread/82659" target="_blank"&gt;post&lt;/A&gt;&amp;nbsp;about popups being in the wrong position, and have attempted to parse before map initialization, but the problem persists. My cursor still traps the wrong position (low and left).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My map and tool bar are created like this (haven't included all modules, but this targets where the issue is) :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map.js:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var baseMapLayerWorld;

var myLayer;

require([
 "dojo/parser",
 "dojo/on",
 "esri/map",
 "esri/toolbars/navigation",
 "esri/dijit/Search",
 "esri/dijit/Scalebar",
 "dijit/Toolbar",
 "dijit/form/Button",
 "esri/layers/ArcGISTiledMapServiceLayer",
 "esri/layers/ArcGISDynamicMapServiceLayer",
 "esri/layers/FeatureLayer",
 "esri/InfoTemplate",
 "esri/geometry/Extent",
 "dijit/layout/BorderContainer",
 "dijit/layout/ContentPane",
 "dojox/layout/ExpandoPane",
 "dijit/layout/AccordionContainer",
 "dijit/layout/TabContainer",
 "dojo/domReady!"
], function (parser, on, Map, Navigation, Search, Scalebar, Toolbar, Button, ArcGISTiledMapServiceLayer, DynamicMapServiceLayer, FeatureLayer, InfoTemplate, Extent) {

parser.parse();

baseMapLayerWorld = new DynamicMapServiceLayer("http://services.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer");
myLayer&amp;nbsp;= new DynamicMapServiceLayer("http://ourserver/arcgis/rest/services/COMMUNE/Public/MapServer");

 var bounds = new Extent({
 "xmin":-17012392,
 "ymin":-2139604,
 "xmax":-16498016,
 "ymax":-1750718,
 "spatialReference":{"wkid":102100}
 });

window.myMap = new Map("map", {
 extent: bounds,
 logo: false
 });

window.myMap.addLayers([baseMapLayerWorld,myLayer]);

var scalebar = new Scalebar({
 map: window.myMap,
 scalebarUnit: "metric",
 attachTo: "top-right",
 scalebarStyle: "line"
 });

dojo.connect(window.myMap, "onExtentChange", showExtent);

var navToolbar;
 navToolbar = new Navigation(window.myMap);

var zoomInButton = new Button({
 label: "test button",
 showLabel: false,
 iconClass: "zoominIcon",
 onClick: function () {
 //alert("test button clicked")
 navToolbar.activate(Navigation.ZOOM_IN);
 }
 }, "zoomin");
 zoomInButton.startup();

var zoomOutButton = new Button({
 label: "test button",
 showLabel: false,
 iconClass: "zoomoutIcon",
 onClick: function () {
 //alert("test button clicked")
 navToolbar.activate(Navigation.ZOOM_OUT);
 }
 }, "zoomout");
 zoomOutButton.startup();

var zoomFullExtButton = new Button({
 label: "test button",
 showLabel: false,
 iconClass: "zoomfullextIcon",
 onClick: function () {
 //alert("test button clicked")
navToolbar.zoomToFullExtent();
 }
 }, "zoomfullext");
 zoomFullExtButton.startup();

var zoomPreviousButton = new Button({
 label: "test button",
 showLabel: false,
 iconClass: "zoomprevIcon",
 onClick: function () {
 //alert("test button clicked")
 navToolbar.zoomToPrevExtent();
 }
 }, "zoomprev");
 zoomPreviousButton.startup();

var zoomNextButton = new Button({
 label: "test button",
 showLabel: false,
 iconClass: "zoomnextIcon",
 onClick: function () {
 //alert("test button clicked")
 navToolbar.zoomToNextExtent();
 }
 }, "zoomnext");
 zoomNextButton.startup();

var panButton = new Button({
 label: "test button",
 showLabel: false,
 iconClass: "panIcon",
 onClick: function () {
 //alert("test button clicked")
 navToolbar.activate(Navigation.PAN);
 }
 }, "pan");
 panButton.startup();

var deactivateButton = new Button({
 label: "test button",
 showLabel: false,
 iconClass: "deactivateIcon",
 onClick: function () {
 //alert("test button clicked")
 navToolbar.deactivate();
 }
 }, "deactivate");
 deactivateButton.startup();





 on(navToolbar, "onExtentHistoryChange", extentHistoryChangeHandler);




window.myMap.on("load", function(){
 require([
 "js/Search",
 "js/Legend",
 "js/Print",
 "js/Identify",
 ], function() {});
 })

function showExtent(extent) {
 var s = "";
 s = "XMin: "+ extent.xmin.toFixed(2) + " "
 +"YMin: " + extent.ymin.toFixed(2) + " "
 +"XMax: " + extent.xmax.toFixed(2) + " "
 +"YMax: " + extent.ymax.toFixed(2);
 //dojo.byId("info").innerHTML = s;
 }

function extentHistoryChangeHandler () {
 // registry.byId("zoomprev").disabled = navToolbar.isFirstExtent();
 // registry.byId("zoomnext").disabled = navToolbar.isLastExtent();
 zoomPreviousButton.disabled = navToolbar.isFirstExtent();
 zoomNextButton.disabled = navToolbar.isLastExtent();
 }


});&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map and toolbar were added to html page like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;div id="map" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'" style="overflow: hidden;width: 100%; height: 100%; margin: 0;"&amp;gt;
 &amp;lt;div id="navToolbar" data-dojo-type="dijit/Toolbar" style="background-color:#ffffff;"&amp;gt;
 &amp;lt;button type="button" id="zoomin"&amp;gt;&amp;lt;/button&amp;gt;
 &amp;lt;button type="button" id="zoomout"&amp;gt;&amp;lt;/button&amp;gt;
 &amp;lt;button type="button" id="zoomfullext"&amp;gt;&amp;lt;/button&amp;gt;
 &amp;lt;button type="button" id="zoomprev"&amp;gt;&amp;lt;/button&amp;gt;
 &amp;lt;button type="button" id="zoomnext"&amp;gt;&amp;lt;/button&amp;gt;
 &amp;lt;button type="button" id="pan"&amp;gt;&amp;lt;/button&amp;gt;
 &amp;lt;button type="button" id="deactivate"&amp;gt;&amp;lt;/button&amp;gt;
 &amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dojo config like this directly on html page:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;lt;script&amp;gt;
 var dojoConfig = {
 parseOnLoad: false,
 async: true,
 packages: [
 {
 name: "agsjs",
 "location": '/OurApp/agsjs' // for xdomain load
 }, {
 name: "js",
 "location": '/OurApp/js'
 }]
 };
 &amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:34:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529416#M49401</guid>
      <dc:creator>NhuMai</dc:creator>
      <dc:date>2021-12-12T16:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cursor offset after adding navigation toolbar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529417#M49402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/map-amd.html#reposition"&gt;map.reposition()&lt;/A&gt; after your map div moves. Take a look at this discussion: &lt;A _jive_internal="true" class="link-titled" href="https://community.esri.com/thread/43662?commentID=235810#comment" title="https://community.esri.com/thread/43662?commentID=235810#comment-235810"&gt;https://community.esri.com/thread/43662&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 03:46:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529417#M49402</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2017-01-22T03:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cursor offset after adding navigation toolbar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529418#M49403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please excuse the formatting of the code below, i can't seem to figure out how to format as code wihin a response..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Makes sense that the offset is due to the addition of the tool bar which had pushed everything down a bit. So, I tried that as well. I'm not sure if I'm putting it in the right place, though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both of these haven't worked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;On map load:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;window.myMap.on("load", function(){&lt;BR /&gt; require([&lt;BR /&gt; "js/Navigate",&lt;BR /&gt; "js/Search",&lt;BR /&gt; "js/Legend",&lt;BR /&gt; "js/Print",&lt;BR /&gt; "js/Identify",&lt;BR /&gt; ], function() {&lt;BR /&gt; window.myMap.reposition();&lt;BR /&gt; });&lt;BR /&gt; })&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a separate js/Navigate.js file, after starting up buttons on toolbar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require([&lt;BR /&gt; //"esri/map",&lt;BR /&gt; "esri/geometry/Extent",&lt;BR /&gt; "esri/toolbars/navigation",&lt;BR /&gt; "dojo/on",&lt;BR /&gt; //"dojo/parser",&lt;BR /&gt; //"dijit/form/Button",&lt;BR /&gt; //"dijit/registry",&lt;BR /&gt; "dijit/Toolbar",&lt;BR /&gt; "dijit/form/Button",&lt;BR /&gt; //"dojo/domReady!"&lt;BR /&gt;],&lt;BR /&gt;function (Extent, Navigation, on, Toolbar, Button) {&lt;/P&gt;&lt;P&gt;//parser.parse();&lt;/P&gt;&lt;P&gt;var navToolbar;&lt;/P&gt;&lt;P&gt;// map = new Map("map", {&lt;BR /&gt; // basemap: "satellite",&lt;BR /&gt; // center: [-56.953, 57.472],&lt;BR /&gt; // zoom: 3&lt;BR /&gt; // });&lt;BR /&gt; navToolbar = new Navigation(window.myMap);&lt;/P&gt;&lt;P&gt;var zoomInButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoominIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.activate(Navigation.ZOOM_IN);&lt;BR /&gt; }&lt;BR /&gt; }, "zoomin");&lt;BR /&gt; zoomInButton.startup();&lt;/P&gt;&lt;P&gt;var zoomOutButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomoutIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.activate(Navigation.ZOOM_OUT);&lt;BR /&gt; }&lt;BR /&gt; }, "zoomout");&lt;BR /&gt; zoomOutButton.startup();&lt;/P&gt;&lt;P&gt;var zoomFullExtButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomfullextIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt;&lt;SPAN&gt;navToolbar.zoomToFullExtent();&lt;/SPAN&gt;&lt;BR /&gt; }&lt;BR /&gt; }, "zoomfullext");&lt;BR /&gt; zoomFullExtButton.startup();&lt;/P&gt;&lt;P&gt;var zoomPreviousButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomprevIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.zoomToPrevExtent();&lt;BR /&gt; }&lt;BR /&gt; }, "zoomprev");&lt;BR /&gt; zoomPreviousButton.startup();&lt;/P&gt;&lt;P&gt;var zoomNextButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "zoomnextIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.zoomToNextExtent();&lt;BR /&gt; }&lt;BR /&gt; }, "zoomnext");&lt;BR /&gt; zoomNextButton.startup();&lt;/P&gt;&lt;P&gt;var panButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "panIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.activate(Navigation.PAN);&lt;BR /&gt; }&lt;BR /&gt; }, "pan");&lt;BR /&gt; panButton.startup();&lt;/P&gt;&lt;P&gt;var deactivateButton = new Button({&lt;BR /&gt; label: "test button",&lt;BR /&gt; showLabel: false,&lt;BR /&gt; iconClass: "deactivateIcon",&lt;BR /&gt; onClick: function () {&lt;BR /&gt; //alert("test button clicked")&lt;BR /&gt; navToolbar.deactivate();&lt;BR /&gt; }&lt;BR /&gt; }, "deactivate");&lt;BR /&gt; deactivateButton.startup();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;window.myMap.reposition();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; on(navToolbar, "onExtentHistoryChange", extentHistoryChangeHandler);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function extentHistoryChangeHandler () {&lt;BR /&gt; // registry.byId("zoomprev").disabled = navToolbar.isFirstExtent();&lt;BR /&gt; // registry.byId("zoomnext").disabled = navToolbar.isLastExtent();&lt;BR /&gt; zoomPreviousButton.disabled = navToolbar.isFirstExtent();&lt;BR /&gt; zoomNextButton.disabled = navToolbar.isLastExtent();&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 04:14:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529418#M49403</guid>
      <dc:creator>NhuMai</dc:creator>
      <dc:date>2017-01-22T04:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Cursor offset after adding navigation toolbar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529419#M49404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, got it--it has to do with the fact that I stuck the toolbar within the map div&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;div class="navBarClass" id="navToolbar" data-dojo-type="dijit/Toolbar" data-dojo-props="region:'top'" style="background-color:#ffffff;"&amp;gt;&lt;BR /&gt; &amp;lt;button type="button" id="zoomin"&amp;gt;&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;button type="button" id="zoomout"&amp;gt;&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;button type="button" id="zoomfullext"&amp;gt;&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;button type="button" id="zoomprev"&amp;gt;&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;button type="button" id="zoomnext"&amp;gt;&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;button type="button" id="pan"&amp;gt;&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;button type="button" id="deactivate"&amp;gt;&amp;lt;/button&amp;gt;&lt;BR /&gt; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div id="map" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'" style="overflow: hidden;width: 100%; height: 100%; margin: 0;"&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 22 Jan 2017 07:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/cursor-offset-after-adding-navigation-toolbar/m-p/529419#M49404</guid>
      <dc:creator>NhuMai</dc:creator>
      <dc:date>2017-01-22T07:33:29Z</dc:date>
    </item>
  </channel>
</rss>

