Skip to content

Commit cf2f950

Browse files
authored
100.7.0 (#425)
* update api version * change api version to 100.5.0 * change version to 100.5.0 * start updates for java 11 * update java 11 parts * add dependencies for all platforms * Delete module-info.java * Update README Update README to alert Java 11 users to potential exceptions which may occur when running the project. Providing a suggested workaround from the OpenJavaFX docs. * Update README.md * add an integrated mesh layer sample * update arcgis version * use javafx plugin * remove jar task config * update arcgis version * move stage show * add point cloud data to sample data downloads * view point cloud data offline sample * Update build.gradle * change camera viewpoint * remove unused imports * update image * update api version * edit about the data and additional info sections * fix comment * Removed errant full stop * Open Mobile Scene Package (#318) * Gradle script includes path to download mspk file (further work required here) and implementation of sample in Java * Create README.md * Create OpenMobileScenePackage.png * Update typo in README * Updated gradle to point to correct data on AGOL * Update to sample code following review * Updates to ReadMe following review * Additional update to read me to include isDirectReadSupported.get * Updated from markdown to HTML * Remove id tags from HTML * Map reference scale (#319) * Create MapReferenceScaleSample.java * Set up MVC structure for sample * Set up basic map with MVC structure * Added label which updates scale of map as it changes * Set up means to change the map view to the selected reference scale * Set up check boxes for map layers * Update MapReferenceScaleController.java * Update MapReferenceScaleController.java * Allow string in combobox, split to return double to feed into map reference scale * Link checkbox with map layer to set reference scale * Method descriptions and remove unused imports * Fix indents * Create MapReferenceScale.png * Create README.md * Convert markdown to HTML * Addressed comments from review. ComboBox now double, vBoxes will load after map has loaded * Add a method to handle setting the reference scale when interacting with the combobox and the scale sync button. * Code updates following review removed unneeded label, added if loaded statement, and refactored map reference scale. Also updated Readme to account for behavior change. * move checkbox logic in with instanceof check * Update MapReferenceScaleController.java * Corrected title for sample * Merge master into dev (#322) * Camera controller US english update (#320) * Replace "aeroplane" with "plane" in README and code * Update image to show corrected spelling * Fix grammar * Updates to Tiled Layer to show support for .tkpx files (#321) * Updates to tiled layer, including .tpkx support * Update tile cache readme to include support .tpkx * Allow downloading of non zip sample data (#324) * Allow downloading of non zip sample data * point scene layer sample (#323) * point scene layer sample * Merge master into Dev (#329) * Camera controller US english update (#320) * Replace "aeroplane" with "plane" in README and code * Update image to show corrected spelling * Fix grammar * Updates to Tiled Layer to show support for .tkpx files (#321) * Updates to tiled layer, including .tpkx support * Update tile cache readme to include support .tpkx * Update slider to show values from 1-5 rather than 0-5 (#328) * remove online elevation data source (#327) * remove online elevation data source * remove unneeded ArcGISScene object * View content beneath terrain surface (#325) * Initiating sample with Scene URL * add done loading listener for changes * portal item entry for data * Add readme and image * Update ViewContentBeneathTerrainSurfaceSample.java * update build and refactor float code * Update ViewContentBeneathTerrainSurfaceSample.java * Add layer view state changed listener * Update ViewContentBeneathTerrainSurface.png * Address comments following review * update comment for add done loading listener on to scene * Update README.md * remove unused imports * group layers sample (#331) group layers sample * update version, delete extra copy of samples data * Play kml tours (#332) * play a kml tour sample * Generate offline map with local basemap (#330) * added dialog box for choosing which basemap to use * Update GenerateOfflineMapWithLocalBasemap.java * Update GenerateOfflineMapWithLocalBasemap.java * Update build.gradle * refactoring and neatening up the code * Update GenerateOfflineMapWithLocalBasemap.java * Ensure that the file exists before prompting user to find local file * Move standard code into private methods to draw attention to new API functionality * Add image and README * Update GenerateOfflineMapWithLocalBasemap.java * Update build.gradle * code restructuring (#333) * code restructuring * comment edits * Update image and readme * update description of generateOfflineMapDialog class * convert fields to local variables * convert readme from md to html * Merging Master into Dev (#345) * Browse wfs layers (#336) browse wfs layers sample * Raster rendering rule (#343) * create class, bring in image service raster, display it * zoom to extent of raster service * add functionality to apply hard-coded raster rendering rule * build and populate renderingruleInfoListView * change rule ListView for DropDown * make raster rendering rule apply on selection in drop-down * refactor imageServiceUrl * refactor applying rendering rule into separate function * refactor populating drop down and building HashMaps into own functions * remove HashMap, find rule through list index@ * improve comments * private final String imageServiceUrl * Add screenshot and update ReadMe * fix screenshot link in README * new screenshot * use string directly as argument for ImageServiceRaster * README from MD to HTML * bring methods back into start * use ComboBox<RenderingRuleInfo> and string converter * add vbox, label to show rendering rule descr. * rearrange imports * remove imageServiceRaster.loadAsync(); * add newline to label, update screenshot * change indentation to 2 spaces * Update README.md - remove html IDs and img alt * add load status indicator * fix imports * make ArgGISMap local * remove ComboBox.setEditable(False); * syntax, adding stylesheet * variable for ImageServiceRaster uri, update readme * formatting terminology in 'how it works' * readme markdown formatting * remove unused imports * comment for auto select of first rule * default selection now shows description * variable naming, remove unused code, factoring, comments * revise readme * comments, uri variable instantiated at first use * improve readme use-case * readme formatting, typos * tag formatting, typos * Merge `master` into `dev` (#350) * Browse wfs layers (#336) browse wfs layers sample * Raster rendering rule (#343) * Get elevation at a point (#341) * GetElevationAtAPoint - update screenshot (#348) * Token authentication (#347) * Update build.gradle * Allows user to click a value on slider to change exaggeration (#351) (#353) * Allows user to click a value on slider to change exaggeration * remove value changed listener, move annotation to correct place, add space before bracket * merge master into dev for ClosestFacilityStatic (#358) * Allows user to click a value on slider to change exaggeration (#351) * Closest facility static (#346) * merge master into dev (#362) * Clean up readme (#356) * fix/spatial-operations-reset-button (#359) * Edit and sync features (#352) * merge master into dev (#368) * patch-closest-facility-static-readme (#363) * delete sample calculate distance 3D (#365) * Patch/ClosestFacilityStatic- Edit readme 'how to use' (#364) * merge master into dev - oAuth Sample patch (#369) * Tschie/split (#387) separate samples into individual gradle projects, convert readmes to markdown, add readme metadata files * fix naming * Routing around barriers (#354) * build class with scene * render street map and add controls panel * add ui elements * add stops with lables on mouse click * add toggle of checkboxes * create pin symbols, number the stops incrementally * solve route task and display it, display instructions * can add barriers to map, switch between adding stops and barriers * implement barriers in routing, implement reset button * set the mode to adding stops on sample start * clear routes / barriers on right click * clear previous route when calculating new route * rearrange code for readability * symbol colours, fix remove last barrier * improve deleting stops and barriers * ui improvements, comments * improve comments/code structure, pin design * split sample into MVC structure with fxml * edit ui and comments * arrange code, comments, ui improvements * add display of travel time and distance * ui tweaks, add screenshot * add how it works, add use case * move variables from class to function scope * variable naming * README to html * revise readme * revise readme * add code comments * tidy imports * show route length in miles * whitespace * improve return compositesymbol * improve string formatting in route info * remove TODO * route length shows in km * remove unneeded TODOs * comment formatting * comment wording * comment wording * var naming, refactoring * fix bad routing condition, remove unused imports * comments and refactoring * barrier/route symbols to instance variables * create route task at launch * improve route solving and UI * whitespace * functions -> in-line code * readme edits * variables to method scope * fxml formtting, commenting, ui improvements * fxml line breaks * change 2nd order lists to ul * add normalizing geometry code * fxml refactor * reset title pane, pin image to class var * improve route info fetch * route/stop lists -> linked lists * improve removing stops/barriers * refactor click handling * refactor click handling * improve deleting stops/barriers * refactor adding/deleting stops * fixes * comments * indentation * formatting sample file * update README.md, comments * determine route automatically * use renderer for route graphics * bug fixes, refactoring * formatting * README.md to MD * remove extra backtick * add gradle wrapper * set main class to launcher * update README.md * Find service areas for multiple facilities (#367) * create basic class with ui elements, symbols * load in feature table, layer, and zoom to extent * solve service area task and display * UI improvements * imports * add facilities to task through featuretable * formatting * refactoring, ui fixes * comments and formatting * rm comment * add readme and screenshot * readme and comment edits * rename, remove reset button * rename, reduce service area * update readme to mirror design * comments * remove unused SimpleFillSymbol * graphics changes * change basemap to grey canvas * refactoring and variable naming * refactoring * readme wording * comments * screenshot * 3/5min service areas, yellow/red color * comments, bigger facility symbols * remove unneeded code, comment improvements, loop indices * describe both cutoffs in readme * service area comment * readme to html * smaller service areas, new screenshot * update readme for new service areas * update README.md, sample title * implement review changes * update settings.gradle * update build.gradle * package and folder names * Sample title: Area -> Areas * add gradle wrapper * fix main class name * implement review changes * update README.md, comments * update screenshot * update screenshot * Fix comment in ColormapRendererSample.java (#391) * Patch/create and save map - default challenge handler (#388) * implement default challenge handler * Update CreateAndSaveMapController.java fix typo * Update README.md * update README.md, code formatting * remove ShowMessage() method * review changes, update README to standard format * code formatting * Read symbols from mobile style file (#357) * create basic sample class with stage and map * split into main class, controller, fxml * load and search stylx file * click adds symbol to map * add styles to preview * add style to combobox, build preview on select * auto-build symbol preview and add on click * add slider to control size * add color selection dropdown * preview symbols in combobox * color only affects first symbol layer * code formatting, change first color to yellow * fix symbol and graphic sizing bug * improve variables * comboboxes to listviews * UI improvements and comments * refactoring and comments * make preview not resize with slider * refactoring * add readme * allow empty symbol selection, resize preview, fix mouse clicks * fix size slider preview * add labels and reset button * ui improvements * formatting and comments * add red color option, add screenshot * fxml formatting * formatting * formatting * refactoring * comments and refactoring * fxml refactor * formatting * comments and refactoring * swap SymbolLayerInfo class for HashMap * comments * use SymbolStyleSearchResult directly to access symbols * comments and refactoring * implement slider functionality through fxml * formatting * improve use case * use case wording * improve updateSymbolSize() * Revert "improve updateSymbolSize()" This reverts commit 372e73c. * refactor mouse click into fxml * add default switch case * inner classes to bottom of the file * reorder for consistency * whitespace * listview array instead of list * refactoring * ui improvements * readme improvements * review corrections * commen * change colour options * slider reacts to click and to drag * implement review changes * update README.md * inner classes to private, override methods * Update README.md * add gradle wrapper * fix data download * implement review changes * review changes, implement color picker * code formatting * Update geopackage sample (#374) * patch-closest-facility-static-readme (#363) * delete sample calculate distance 3D (#365) * Patch/ClosestFacilityStatic- Edit readme 'how to use' (#364) * patch oAuth sample custom challengehandler (#366) * implement fix for javafx webengine * formatting * add fix for create and save map sample * markdown to html formatting * update read geopackage design * update readme code snippets * improve comments * remove unneeded comments * comment wording * implement review corrections * whitespace * remove unrelated files * implement review changes * remove css stylesheet * clean up some comments * add readme metadata file * Patch/oauth default challenge handler (#375) * oauth with default challenge handler * code formatting and comments * correct redirect uri * remove fxml, formatting * revert gradle-wrapper.jar * comments * readme updated for def challenge handler * implement review changes * rename class file to match docsgst * rename package * implement default challenge handler * restore build.gradle * Revert "restore build.gradle" This reverts commit 35c1df0. * Revert "implement default challenge handler" This reverts commit bd98478. * fix screenshot file name * revert package and class name * update README.md * revert sample name, update README.metadata.json * implement review changes * remove extra comma * Routing around barriers - add isStillSincePress to mouse events (#394) * add isStillSincePress to mouse events * remove error log from error dialog * oauth - README.metadata.json formatting (#395) * formatting * mmpk to class member (#398) * Patch/dictionary symbol style update constructor (#393) * update DictionarySymbolStyle constructor * update README.md and comments * update Item ID * update constructor in remaining samples * update README.md, README.metadata.json * optimise imports * update xml files to remove control points * get Mil2525d xml from AGOL where applicable * remove xml in resources * fix typo on mil2525d * Patch/geometry engine simplify - add isSimple check (#399) * add isSimple check * update Readme.md * update comments, update metadata.json * Integrated windows auth (#370) * patch-closest-facility-static-readme (#363) * delete sample calculate distance 3D (#365) * Patch/ClosestFacilityStatic- Edit readme 'how to use' (#364) * patch oAuth sample custom challengehandler (#366) * implement fix for javafx webengine * formatting * add fix for create and save map sample * markdown to html formatting * working sample * comments, formatting, UI improvements * UI, screenshot, readme * readme formatting * code formatting * ui improvements, screenshot * comments, formatting * readme tags * javadoc comments * ui improvements * ui improvements * refactoring * comments * address review suggestions * smaller UI * update screenshot * listview holds portal item ids * Update README.md, comments * update README.md * fix package and path names * delete irrelevant files * readme to MD * add README.metadata.json * updated README.metadata.json * remove public search, refactoring * whitespace * cell factory to class, fxml tidying * error handling, comments, refactoring * error handling * remove loading/portal info text * class member to local var * update Readme.md for UI changes and review suggestions * refactoring * fix typo * Move construction of portal query parameters to its own line * small UI improvements, update screenshot * update README.md for screenshot link (#403) * Integrated windows auth - update README.metadata.json (#402) * update RAEDME.metadata.json * update tags in README.metadata.json * move local data download logic to settings.gradle (#401) * patch-closest-facility-static-readme (#363) * delete sample calculate distance 3D (#365) * Patch/ClosestFacilityStatic- Edit readme 'how to use' (#364) * patch oAuth sample custom challengehandler (#366) * implement fix for javafx webengine * formatting * add fix for create and save map sample * markdown to html formatting * corrects WKID to 4326 (#389) * corrects WKID to 4326 * use SpatialReferences.getWgs84 * move local data download logic to settings.gradle * move data download logic to settings.gradle * fix data paths * fixing data download for mil2505 xml file for sample viewer v2504 (#404) * update DictionarySymbolStyle constructor * update README.md and comments * update Item ID * update constructor in remaining samples * update README.md, README.metadata.json * optimise imports * update xml files to remove control points * get Mil2525d xml from AGOL where applicable * remove xml in resources * move data download to settings.gradle, fix paths * fix typo * fix directory name * fix local data folder * put native libraries in .arcgis folder * Honor mmpk expiration (#397) * initial commit * working sample * refactoring * refactoring, comments * copyright statement in Launcher class * data download to settings.gradle * change expiration display to static date, CSS edits * update screenshot * expiration message to sentence case * fix settings.gradle. Again. * plement review suggestions * formatting * update README.metadata.json * comments * Set annotation sublayer visibility (#396) * show scale in label * load mmpk * add checkboxes with labels * activate checkboxes, change checkbox text color dynamically * update label color * fix checkboxes, comments * optimise imports, copyright comment * labels and screenshot * update screenshot * update runtime build, update README.md * mmpk to class member * formatting and comments * javadoc comments * restore show_callout files * move downloading of sample data to settings.gradle * fix package naming * move scale label to control panel, check mmpk contains maps * fix checkbox text colours * UI fixes and label colouring * data download in settings.gradle * update README.md * update screenshot for UI changes * fix settings.gradle * fix settings.gradle * formatting * README.metadata.json redirect url to blank string * update README.md * Tschie/preplanned map (#405) * download preplanned map sample * refactoring * add ref to update parameters * method/enum name for update option * method/enum name for update option * update runtime version, imports * inner class to private * add auth manager to handle OAuth challenge * mark portal as requires authentication * update README.md * add screenshot alt text * update README.md * update README.md * update README.md for scheduled updates workflow * update link to guide * update README.md * update use case * improve 'how it works' * add preview of area of interest * improve drawing area of interest * update use case wording, references in additional information * fix deleting temp files, add button 'return to web map' * add numbering to list view * zoom to area on select, refactoring * update listener adding/removing * refactoring * disable/enable showWebMapButton approprately * add README.metadata.json * fix function naming * add confirmation popup when deleting * refactoring, use commons library to delete * fix commons-io dependency * 'show web map' button width * reorder imports * improve viewpoint change, button updates * smaller UI * refactoring and comments * javadoc comments and formatting * remove stray q file * address review corrections * review changes and refactoring * refactoring * whitespace * web map -> online map * further information -> additional information * mmpk to class member * change button text * selecting view online map pans to selected area * formatting * update README.md * copyright statements * remove commented code * try to simplify a bit * simplify sample * don't hide graphics overlay on download * add snippet * update How to use the sample section * Update DownloadPreplannedMap.png * Slim up the use case * remove fxml comments * remove redirect from for new sample * ignore iml files * Create and save kml file (#406) * create folder structure, add readme, metadata.json * split to mvc and add fxml file * ui and button events * UI and sketch mode * add basic kml sketching * show and hide style window after sketch complete * UI toggling based on app state * refactoring * add applying style * add saving * add combobox item list cell * show preview in combobox * JavaDoc comments * comments and refactoring * UI improvements * copyright in list cell factory * Center labels in UI * update README.md * add screenshot * improve saving * tidy ui, wait for map to load to enable ui * formatting * formatting fxml * optmise imports * remove unused css classes * improve file saving * refactor sample and improve UI * refactoring and comments * simplify UI (#407) * simplify UI * reuse file chooser * update readme, metadata, and image * add comments * remove unused imports * Apply scheduled updates to preplanned map area (#392) * initial commit * fix launcher * add apache commons dependencies, fix runtime version * update runtime version * update gradle script * review changes * add README.metadata.json * remove gif * update screenshot * mmpk to class member * update README.metadata.json * add second check for updates after applying * refactor checking for update * title typo, widen UI * update runtime build * remove error message details, refactoring * remove unused imports * move downloading from build to settings.gradle * update README.metadata.json * remove unneeded sync direction code * remove unneeded imports * update runtime version * replace UI with alert * update screenshot and readme.md * fix alert typo * remove progress indicator, add javadocs * remove update checks and update automatically * update README.metadata.json * Revert "remove update checks and update automatically" This reverts commit b9ee5ec. * Revert "update README.metadata.json" This reverts commit 74e6859. * minor cleanup * Rewording * Patch/apply scheduled updates (#412) * remove rollback on fail * create new instance when reopen mmpk * update comments * clean up imports * Data parent directory (#413) * Specify samples-data directory in File constructors * remove sout * add missing parent directory * add missing parent dir * Revert "add missing parent dir" This reverts commit 29c5abe. * add missing parent dir * change canonicalPath to absolutePath * specify parent directory in File constructor * avoid explicit list of excluded directories * show progress indicator on initial load * Jon/remove unpack workflow2 (#422) * remove unpack workflow * add System.getProperty(data.dir), * Custom dictionary style [into dev] (#421) * add sample * add toggle box and use only overrides with effect * change initial viewpoint, rearrange code * update screenshot for new UI * update readme to reflect changes * update 'how to use' * simplify sample * var naming and comments * update screenshot, readme, comments * update README.md * update readme.md * changes from design review * review changes * remove extra comma * minor rewording * readme formatting * add data.dir property * Edit kml ground overlay [into dev] (#420) * initial commit * fix comments * refactoring * comments * fix URI * remove unused CSS, add screenshot * implement review corrections * update screenshot for new UI * UI changes, simplify applying opacity * setGroundOverlayOpacity() comment wording * update scene comment for clarity * review corrections * Change fields to local variables * add data.dir param * add panel-region class to vbox * update arcgis version to 100.7.0 * remove reference to toggling coordinates (#428) * Display subtype feature layer (#427) * set up sample * Update DisplaySubtypeFeatureLayerSample.java * update readme * refactor for fxml * self review * address review comments and update UI * fix typo * update method name * enable UI once sublayer has loaded * minor rewording
1 parent 55daed9 commit cf2f950

File tree

254 files changed

+1377
-367
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+1377
-367
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ samples-data/
1212
# Intellij project files
1313
*.ipr
1414
.idea/
15+
*.iml
1516

1617
# Eclipse
1718
.metadata

Diff for: analysis/analyze-hotspots/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -71,4 +71,4 @@ task productionZip(type: Zip) {
7171

7272
wrapper {
7373
gradleVersion = '5.0'
74-
}
74+
}

Diff for: analysis/distance-measurement-analysis/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -71,4 +71,4 @@ task productionZip(type: Zip) {
7171

7272
wrapper {
7373
gradleVersion = '5.0'
74-
}
74+
}

Diff for: analysis/line-of-sight-geoelement/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -53,8 +53,8 @@ run {
5353

5454
jar {
5555
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
56-
manifest {
57-
attributes("Main-Class": "$mainClassName")
56+
manifest {
57+
attributes("Main-Class": "$mainClassName")
5858
}
5959
from {
6060
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: analysis/line-of-sight-geoelement/src/main/java/com/esri/samples/line_of_sight_geoelement/LineOfSightGeoElementSample.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public void start(Stage stage) {
162162
);
163163

164164
// create a graphic of a taxi to be the target
165-
String modelURI = new File("./samples-data/dolmus_3ds/dolmus.3ds").getAbsolutePath();
165+
String modelURI = new File(System.getProperty("data.dir"), "./samples-data/dolmus_3ds/dolmus.3ds").getAbsolutePath();
166166
ModelSceneSymbol taxiSymbol = new ModelSceneSymbol(modelURI, 1.0);
167167
taxiSymbol.setAnchorPosition(SceneSymbol.AnchorPosition.BOTTOM);
168168
taxiSymbol.loadAsync();

Diff for: analysis/line-of-sight-location/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -71,4 +71,4 @@ task productionZip(type: Zip) {
7171

7272
wrapper {
7373
gradleVersion = '5.0'
74-
}
74+
}

Diff for: analysis/viewshed-camera/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -71,4 +71,4 @@ task productionZip(type: Zip) {
7171

7272
wrapper {
7373
gradleVersion = '5.0'
74-
}
74+
}

Diff for: analysis/viewshed-geoelement/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -74,4 +74,4 @@ task productionZip(type: Zip) {
7474

7575
wrapper {
7676
gradleVersion = '5.0'
77-
}
77+
}

Diff for: analysis/viewshed-geoelement/src/main/java/com/esri/samples/viewshed_geoelement/ViewshedGeoElementSample.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ public void start(Stage stage) {
113113
graphicsOverlay.setRenderer(renderer3D);
114114

115115
// create a graphic of a tank
116-
String modelURI = new File("./samples-data/bradley_low_3ds/bradle.3ds").getAbsolutePath();
117-
ModelSceneSymbol tankSymbol = new ModelSceneSymbol(modelURI, 10.0);
116+
String modelURI = new File(System.getProperty("data.dir"), "./samples-data/bradley_low_3ds/bradle.3ds").getAbsolutePath();
117+
ModelSceneSymbol tankSymbol = new ModelSceneSymbol(modelURI.replace("\\", "/"), 10.0);
118118
tankSymbol.setHeading(90);
119119
tankSymbol.setAnchorPosition(SceneSymbol.AnchorPosition.BOTTOM);
120120
tankSymbol.loadAsync();

Diff for: analysis/viewshed-geoprocessing/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -71,4 +71,4 @@ task productionZip(type: Zip) {
7171

7272
wrapper {
7373
gradleVersion = '5.0'
74-
}
74+
}

Diff for: analysis/viewshed-location/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -71,4 +71,4 @@ task productionZip(type: Zip) {
7171

7272
wrapper {
7373
gradleVersion = '5.0'
74-
}
74+
}

Diff for: display_information/add-graphics-with-renderer/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -53,8 +53,8 @@ run {
5353

5454
jar {
5555
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
56-
manifest {
57-
attributes("Main-Class": "$mainClassName")
56+
manifest {
57+
attributes("Main-Class": "$mainClassName")
5858
}
5959
from {
6060
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: display_information/add-graphics-with-symbols/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -53,8 +53,8 @@ run {
5353

5454
jar {
5555
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
56-
manifest {
57-
attributes("Main-Class": "$mainClassName")
56+
manifest {
57+
attributes("Main-Class": "$mainClassName")
5858
}
5959
from {
6060
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: display_information/control-annotation-sublayer-visibility/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -53,8 +53,8 @@ run {
5353

5454
jar {
5555
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
56-
manifest {
57-
attributes("Main-Class": "$mainClassName")
56+
manifest {
57+
attributes("Main-Class": "$mainClassName")
5858
}
5959
from {
6060
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: display_information/control-annotation-sublayer-visibility/src/main/java/com/esri/samples/control_annotation_sublayer_visibility/ControlAnnotationSublayerVisibilitySample.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
import com.esri.arcgisruntime.mapping.MobileMapPackage;
4040
import com.esri.arcgisruntime.mapping.view.MapView;
4141

42+
import java.io.File;
43+
4244
public class ControlAnnotationSublayerVisibilitySample extends Application {
4345

4446
private MapView mapView;
@@ -72,6 +74,7 @@ public void start(Stage stage) {
7274

7375
// create a control panel and label for the checkboxes
7476
VBox controlsVBox = new VBox(6);
77+
controlsVBox.getStyleClass().add("panel-region");
7578
controlsVBox.setBackground(new Background(new BackgroundFill(Paint.valueOf("rgba(0,0,0,0.3)"), CornerRadii.EMPTY,
7679
Insets.EMPTY)));
7780
controlsVBox.setPadding(new Insets(10.0));
@@ -88,7 +91,8 @@ public void start(Stage stage) {
8891
controlsVBox.getChildren().addAll(closedSublayerCheckbox, openSublayerCheckbox, currentMapScaleLabel);
8992

9093
// load the mobile map package
91-
mobileMapPackage = new MobileMapPackage("./samples-data/mmpk/GasDeviceAnno.mmpk");
94+
File mmpkFile = new File(System.getProperty("data.dir"), "./samples-data/mmpk/GasDeviceAnno.mmpk");
95+
mobileMapPackage = new MobileMapPackage(mmpkFile.getAbsolutePath());
9296
mobileMapPackage.loadAsync();
9397
mobileMapPackage.addDoneLoadingListener(() -> {
9498
if (mobileMapPackage.getLoadStatus() == LoadStatus.LOADED && !mobileMapPackage.getMaps().isEmpty()) {

Diff for: display_information/dictionary-renderer-graphics-overlay/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -54,8 +54,8 @@ run {
5454

5555
jar {
5656
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
57-
manifest {
58-
attributes("Main-Class": "$mainClassName")
57+
manifest {
58+
attributes("Main-Class": "$mainClassName")
5959
}
6060
from {
6161
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: display_information/dictionary-renderer-graphics-overlay/src/main/java/com/esri/samples/dictionary_renderer_graphics_overlay/DictionaryRendererGraphicsOverlaySample.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ public void start(Stage stage) throws Exception {
7676
mapView.getGraphicsOverlays().add(graphicsOverlay);
7777

7878
// create symbol dictionary from style file
79-
DictionarySymbolStyle symbolDictionary = DictionarySymbolStyle.createFromFile("./samples-data/stylx/mil2525d.stylx");
79+
File stylxFile = new File(System.getProperty("data.dir"), "./samples-data/stylx/mil2525d.stylx");
80+
DictionarySymbolStyle symbolDictionary = DictionarySymbolStyle.createFromFile(stylxFile.getAbsolutePath());
8081

8182
// tells graphics overlay how to render graphics with symbol dictionary attributes set
8283
DictionaryRenderer renderer = new DictionaryRenderer(symbolDictionary);
@@ -102,7 +103,7 @@ public void start(Stage stage) throws Exception {
102103
*/
103104
private List<Map<String, Object>> parseMessages() throws Exception {
104105

105-
File mil2525dFile = new File("./samples-data/xml/Mil2525DMessages.xml");
106+
File mil2525dFile = new File(System.getProperty("data.dir"), "./samples-data/xml/Mil2525DMessages.xml");
106107
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
107108
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
108109
Document document = documentBuilder.parse(mil2525dFile);

Diff for: display_information/display-grid/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -53,8 +53,8 @@ run {
5353

5454
jar {
5555
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
56-
manifest {
57-
attributes("Main-Class": "$mainClassName")
56+
manifest {
57+
attributes("Main-Class": "$mainClassName")
5858
}
5959
from {
6060
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: display_information/format-coordinates/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -53,8 +53,8 @@ run {
5353

5454
jar {
5555
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
56-
manifest {
57-
attributes("Main-Class": "$mainClassName")
56+
manifest {
57+
attributes("Main-Class": "$mainClassName")
5858
}
5959
from {
6060
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: display_information/identify-graphics/build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

12+
13+
1214
javafx {
1315
version = "11.0.1"
1416
modules = [ 'javafx.controls' ]

Diff for: display_information/show-callout/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -53,8 +53,8 @@ run {
5353

5454
jar {
5555
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
56-
manifest {
57-
attributes("Main-Class": "$mainClassName")
56+
manifest {
57+
attributes("Main-Class": "$mainClassName")
5858
}
5959
from {
6060
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }

Diff for: display_information/show-labels-on-layer/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -72,4 +72,4 @@ task productionZip(type: Zip) {
7272

7373
wrapper {
7474
gradleVersion = '5.0'
75-
}
75+
}

Diff for: display_information/sketch-on-map/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
group = 'com.esri.samples'
77

88
ext {
9-
arcgisVersion = '100.6.0'
9+
arcgisVersion = '100.7.0'
1010
}
1111

1212
javafx {
@@ -71,4 +71,4 @@ task productionZip(type: Zip) {
7171

7272
wrapper {
7373
gradleVersion = '5.0'
74-
}
74+
}

0 commit comments

Comments
 (0)