fixed file paths
@@ -125,7 +125,7 @@ public class OfflineGeocodeSample extends Application {
});
// create a basemap from a local tile package
- final String tileCachePath = new File("/samples-data/sanfrancisco/SanFrancisco.tpk").getAbsolutePath();
+ final String tileCachePath = new File("samples-data/sanfrancisco/SanFrancisco.tpk").getAbsolutePath();
TileCache tileCache = new TileCache(tileCachePath);
tiledLayer = new ArcGISTiledLayer(tileCache);
Basemap basemap = new Basemap(tiledLayer);
@@ -164,7 +164,7 @@ public class OfflineGeocodeSample extends Application {
callout.setLeaderPosition(LeaderPosition.BOTTOM);
// create a locator task
- final String locatorPath = new File("/samples-data/sanfrancisco/SanFranciscoLocator.loc").getAbsolutePath();
+ final String locatorPath = new File("samples-data/sanfrancisco/SanFranciscoLocator.loc").getAbsolutePath();
locatorTask = new LocatorTask(locatorPath);
// set geocode task parameters
