Can we embed an offline static map in java desktop application using arcGIS ? If yes then how ?

1640
1
Jump to solution
06-08-2017 07:43 AM
SagarJangid
New Contributor

I have to develop a desktop application in java as a college project that can run offline and integrate a offline static map and provide the latitude and longitude of the clicked position. I am having trouble in loading a offline static map using arcGIS.

0 Kudos
1 Solution

Accepted Solutions
JasonHine
Esri Contributor

Hi Sagar,

The ArcGIS Runtime SDK for Java has a LocalServer class and subclasses to support offline mapping scenarios. Take a look at the Local Server Map Image Layer sample and other Local Server samples. Note that the map data needs to be in a Map Package (*.mpk) file in order to work with LocalServer; you can use one of the ArcGIS Desktop applications (ArcMap or ArcGIS Pro) to produce *.mpk files.

View solution in original post

0 Kudos
1 Reply
JasonHine
Esri Contributor

Hi Sagar,

The ArcGIS Runtime SDK for Java has a LocalServer class and subclasses to support offline mapping scenarios. Take a look at the Local Server Map Image Layer sample and other Local Server samples. Note that the map data needs to be in a Map Package (*.mpk) file in order to work with LocalServer; you can use one of the ArcGIS Desktop applications (ArcMap or ArcGIS Pro) to produce *.mpk files.

0 Kudos