Support for Firefox 3.5
Support for Dojo 1.3.2
Ability to change mouse cursor type
In version 1.5 you can change the default mouse cursor behavior and types. The Map already has some built-in cursor changes such as switching to the the four-headed arrow "move" cursor during a pan. You can add other cursor changes by calling Map.setMapCursor() in response to map events. For example, if you made a custom tool for identifying or learning about map features, you might change to the question mark "help" cursor upon activation of the tool. When the user finishes with the tool, you can call setMapCursor again to return to the original cursor.
When you call setMapCursor, you need to supply the cursor type. A list of standard CSS cursor values is available here. Web browsers have built-in support for various cursors, many of which are common to all browsers. Use caution when using cursors that are not supported by all browsers.
- In some scenarios, the click event on the zoom slider did not get released, causing the cursor to seem "stuck" to the slider. (NIM043117)
- If you hid a graphic, panned the graphic off the map, then partially panned the graphic back onto the map, the graphic would become visibile.