Modify

Opened 12 years ago

Closed 12 years ago

#8328 closed enhancement (fixed)

Add "scroll wrap" option to JMapViewer

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

Description

The JMapViewer panel currently only shows a single square map which terminates on the left and right map borders. An enhancement/option could be added to allow the map to continue to the panel border instead, wrapping horizontally (scrolling) as many times as needed. This option should not affect default/current map behavior.

Attachments (0)

Change History (1)

comment:1 by The111, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in [o29170].

Added boolean field JMapViewer.scrollWrapEnabled. When enabled, the map tiles wrap horizontally, as well as map markers, rectangles, and polygons.

Unless this boolean is explicitly set, current/default map behavior is unchanged, so JOSM and any other applications using JMapViewer will be unaffected by this change.

Also updated the Demo class to include a checkbox for turning on/off scroll wrap and observing the change.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain The111.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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