Best way to publish offline map with both raster and vector data and load it to a JMap object?

950
1
10-16-2016 12:34 AM
AiroboticsLtd
New Contributor II

Hi,

I've been trying to export an MXD that has both vector data (in a file geodatabase) and a raster data (a tiff) as a package to be loaded in a JMap object.

In .NET, it's pretty straightforward. One would just publish the entire MXD project as is in an .MPK format and then load it into the map.

In Java 10.2, it seems that the TPK and then the MPK files need to be created and loaded separately.

For some reason, that doesn't seem to work.

I would like a solution similar to .NET - that is one single MPK to be loaded as is.

Java vesrion: 8.19

ArcGIS Runtime for Java SDK: 10.2.

ArcGIS for Desktop Standard (used to publish the data): 10.4.

Thanks,

0 Kudos
1 Reply
nita14
by
Occasional Contributor III

Hi,

try to use ArcGIS for Desktop Standard 10.2 to export map package including both raster and vector data. Do not check to reference the data while exporting.

Regards,

Adam

0 Kudos