Skip to content

Commit 89800eb

Browse files
author
mark8487
committed
Updating image and sorting out the slider ticks
1 parent 2e38f9e commit 89800eb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
-214 KB
Loading

src/main/java/com/esri/samples/mapview/map_rotation/MapRotationSample.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ public void start(Stage stage) throws Exception {
5555
// create a slider with a range of 360 units and start it half way
5656
Slider slider = new Slider(-180.0, 180.0, 0.0);
5757
slider.setMaxWidth(240.0);
58+
slider.setShowTickLabels(true);
59+
slider.setShowTickMarks(true);
60+
slider.setMajorTickUnit(90);
5861
slider.setDisable(true);
5962

6063
// listen for the value in the slider to change

0 commit comments

Comments
 (0)