Map API - adding cursors

Discussion in 'Plugin Development' started by matejdro, Jan 10, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    matejdro

    Can anyone show me proper way to add cursors to the map?

    When I add cursor, it will display a map with a cursor for a moment, but then it will disconnect me with bad packet error with random packet number (always different).

    Code:java
    1. MapCursorCollection cursors = canvas.getCursors();
    2. cursors.addCursor(20, 20, (byte) 1, (byte) 1, true);
     
Thread Status:
Not open for further replies.

Share This Page