When i find the code in GitHub (arcgis-runtime-samples-java/src/main/java/com/esri/samples/localserver/local_server_map_image_layer at master · Esri/arc… ),it must be online.
How can i load offline map? ( I want to load the specific map,and my map format is tif picture)
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.
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
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?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.