Adam,
Thanks again for your quick reply. I looked into creating a mobile mosaic data set, but I fear my users would prefer to just point my app to the RPF files and have them loaded up instead of having to do a conversion process with ArcGIS Desktop first. Unfortunately, I can't share the files with anyone. But I added a few lines to see what was going on with the spatial reference.
layer.addDoneLoadingListener(() -> {
SpatialReference sr = layer.getSpatialReference();
if (sr != null) System.out.println(sr.getWKText());
});
and
map.addDoneLoadingListener(() -> {
System.out.println(map.getSpatialReference().getWKText());
});
I get...
PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]
Licensed For Developer Use Only
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Which looks like the base map and the Raster Layers are both the same projection? Am I reading that right? Should set the z-order of the raster images or something?