@ Api public void setDefaultCursorString ( String cursor ) { try { defaultCursor = cursor . toUpperCase ( ) ; Cursor . valueOf ( cursor . toUpperCase ( ) ) ; } catch ( Exception e ) { // NOSONAR // Let us assume the cursor points to an image: defaultCursor = cursor ; if ( ! cursor . contains ( "url" ) ) { defaultCursor = "url('" + cursor + "'),auto" ; } } setCursorString ( defaultCursor ) ; }
Apply a new default cursor on the map . This cursor will be set on deactivation of a controller .