UI components

The ArcGIS Runtime SDK for Java offers a toolkit with JavaFX components to help simplify your Java development work. Available components include:

  • Compass: Shows the current viewpoint heading. Can be clicked to reorient the view to north.
  • Overview Map: Indicates the viewpoint of the main map/scene view.
  • Scalebar: Shows a ruler with units proportional to the map's current scale.

Add the dependency using Gradle

The toolkit library jar is hosted on https://esri.jfrog.io/artifactory/arcgis.

  1. If you haven't already, install and set up ArcGIS Runtime SDK for Java.

  2. To add the dependency to your project using Gradle, use the following code. For other install options or more detail, see Install and set up.

                          
apply plugin: 'application'

// Runtime SDK dependency
apply plugin: 'com.esri.arcgisruntime.java'
buildscript {
    repositories {
        maven {
            url 'https://esri.jfrog.io/artifactory/arcgis'
        }
    }
    dependencies {
        classpath 'com.esri.arcgisruntime:gradle-arcgis-java-plugin:1.0.0'
    }
}
arcgis.version = '100.2.1'

// Toolkit dependency
repositories {
  maven {
      url 'https://esri.jfrog.io/artifactory/arcgis'
  }
}

dependencies {
  compile 'com.esri.arcgisruntime:arcgis-java-toolkit:100.2.1'
}

Requirements

The following table shows which versions of the SDK are compatible with the toolkit:

SDK VersionToolkit Version
100.2.1100.2.1

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.