code: @Api
  	public void setCursorString(String cursor) {
  		try {
  			Cursor c = Cursor.valueOf(cursor.toUpperCase());
  			setCursor(c);
  		} catch (Exception e) { // NOSONAR
  			// Let us assume the cursor points to an image:
  			this.cursor = cursor;
  			if (!cursor.contains("url")) {
  				this.cursor = "url('" + cursor + "'),auto";
  			}
  			graphics.getRasterContext().setCursor(null, this.cursor);
  			graphics.getVectorContext().setCursor(null, this.cursor);
  		}
  	}
docs: Apply a new cursor on the map.
  
  @param cursor
  The new cursor to be used when the mouse hovers over the map.
  @since 1.10.0