Toolkit

ArcGIS Maps 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.
  • Floor Filter: Shows sites and facilities, and enables toggling the visibility of levels on floor-aware maps and scenes.
  • Overview Map: Indicates the viewpoint of the main map/scene view.
  • Scalebar: Shows a ruler with units proportional to the map's current scale.
  • Feature Template Picker: Shows feature templates for a collection of feature layers.
  • Utility Network Trace Tool: Enables a utility network trace experience for maps authored with a trace configuration.

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 Maps 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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
plugins {
    id 'application'
    id 'org.openjfx.javafxplugin' version '0.1.0'
}

// Replace with version number of <ProductName /> you are using in your app, such as:
// arcgisVersion = '200.5.0'. See table below for SDK Versions that support the toolkit.
ext {
  arcgisVersion = '200.6.0'
}

javafx {
    version = "21.0.5"
    modules = [ 'javafx.controls', 'javafx.graphics', 'javafx.fxml', 'javafx.media', 'javafx.web' ]
}

compileJava.options.encoding = 'UTF-8'

// Toolkit and <ProductName /> repository
repositories {
    mavenCentral()
    maven {
        url 'https://esri.jfrog.io/artifactory/arcgis'
    }
}

configurations {
    natives
}

dependencies {
    implementation "com.esri.arcgisruntime:arcgis-java:$arcgisVersion"
    natives "com.esri.arcgisruntime:arcgis-java-jnilibs:$arcgisVersion"
    natives "com.esri.arcgisruntime:arcgis-java-resources:$arcgisVersion"
    implementation 'com.esri.arcgisruntime:arcgis-java-toolkit:200.0.0'
}

Requirements

The following table shows the minimum version of the SDK compatible with the toolkit:

SDK VersionToolkit Version
100.2.1100.2.1
100.14.0100.14.0
100.15.0100.15.0
200.0.0200.0.0
200.1.0200.0.0
200.2.0200.0.0
200.3.0200.0.0
200.4.0200.0.0
200.5.0200.0.0
200.6.0200.0.0

Issues

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close