Modify

Opened 12 years ago

Closed 12 years ago

#8420 closed enhancement (fixed)

Change cursor when user mouses over the attribution links

Reported by: The111 Owned by: The111
Priority: normal Milestone:
Component: JMapViewer Version: latest
Keywords: Cc:

Description

This ticket is related to an annotation currently present in the AttributionSupport.handleAttribution method:

/* TODO: Somehow indicate the link is clickable state to user */

The logical indication would be to change the cursor from DEFAULT_CURSOR to HAND_CURSOR.

Change History (2)

comment:1 by The111, 12 years ago

Fixed in [o29244].

Because the handleAttribution method is intended for handling clicks, a new method handleAttributionCursor was created, which should be utilized by a MouseMotionListener. The Demo class has also been updated to illustrate this usage, and the JMapViewer class has a new getter method getAttribution() so that this protected field can be accessed from other packages.

Also, the release zip was updated.

comment:2 by The111, 12 years ago

Resolution: fixed
Status: newclosed

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.