I was successful in changing the cursor when a specific button is clicked. IN this case its a button that creates a buffer.
BUT ... the button in in the header of my web page....when I go onto the map it goes back to default.
This is what I am trying...
// Changes the cursor to an hourglass | |
function cursor_crosshair() { | |
document.body.style.cursor = 'crosshair'; | |
} |
// Returns the cursor to the default pointer | |
function cursor_clear() { | |
document.body.style.cursor = 'default'; | |
} |
cursor_crosshair();
Solved! Go to Solution.
GOT it with this
app.map.setMapCursor("crosshair");