<?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: Change Cursor in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-cursor/m-p/697583#M64923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GOT it with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.map.setMapCursor("crosshair");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Jul 2014 14:45:27 GMT</pubDate>
    <dc:creator>jaykapalczynski</dc:creator>
    <dc:date>2014-07-18T14:45:27Z</dc:date>
    <item>
      <title>Change Cursor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-cursor/m-p/697582#M64922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was successful in changing the cursor when a specific button is clicked.&amp;nbsp; IN this case its a button that creates a buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT ... the button in in the header of my web page....when I go onto the map it goes back to default.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I want this Cursor change to only apply to this button&lt;/LI&gt;&lt;LI&gt;Only change on the map DIV&lt;/LI&gt;&lt;LI&gt;go back to default when another button is clicked.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I am trying...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;// Changes the cursor to an hourglass&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;function cursor_crosshair() {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;document.body.style.cursor = 'crosshair';&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;// Returns the cursor to the default pointer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;function cursor_clear() {&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;document.body.style.cursor = 'default';&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cursor_crosshair();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:41:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-cursor/m-p/697582#M64922</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-07-18T14:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Change Cursor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-cursor/m-p/697583#M64923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;GOT it with this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;app.map.setMapCursor("crosshair");&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 14:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-cursor/m-p/697583#M64923</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2014-07-18T14:45:27Z</dc:date>
    </item>
  </channel>
</rss>

