Load offline map when using local server in ArcGIS Runtime SDK for Java

1265
3
01-15-2018 07:19 PM
HangMin
New Contributor

When i find the code in GitHub (arcgis-runtime-samples-java/src/main/java/com/esri/samples/localserver/local_server_map_image_layer ... ),it must be online.

How can i load offline map? ( I want to load the specific map,and my map format is tif picture)

Tags (1)
0 Kudos
3 Replies
EricBader
Occasional Contributor III

It sounds like you may be looking for a way to read a raster file directly? For this, you don't need to use the Local Server. Raster Layer File—ArcGIS Runtime SDK for Java | ArcGIS for Developers .

I hope I understood correctly?

0 Kudos
HangMin
New Contributor

Can it load mxd or mpk file? What I want is tif(or other) format offline map and load mxd(or mpk) file on it.Mxd file is the line or point based on the map.

Still thanks for your reply

0 Kudos
EricBader
Occasional Contributor III

Ah. Thanks for this. (If I still haven't misunderstood ) You can package all of your layer data, line and point data, into a mobile map package (using ArcGIS Pro). For your tif, you don't need Local Server. Runtime can read this file directly into your map. This assumes you're using 100.1 or 100.2, and that you are using a read-only scenario.

0 Kudos