File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/com/esri/samples/mapview/map_rotation Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff 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
@@ -64,7 +67,7 @@ public void start(Stage stage) throws Exception {
6467 });
6568
6669 // create a ArcGISMap with topographic basemap
67- ArcGISMap map = new ArcGISMap (Basemap .createTopographic ());
70+ ArcGISMap map = new ArcGISMap (Basemap .createStreetsVector ());
6871
6972 // enable slider when map view is done loading
7073 map .addDoneLoadingListener (() -> slider .setDisable (false ));
You can’t perform that action at this time.
0 commit comments