<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hello, I am trying to load shape files containing road files i mean custom made map but i have seen the examples but i can't get picture on exactly how to do e.g //= &amp;quot;http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/M in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-i-am-trying-to-load-shape-files-containing/m-p/628409#M1921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it will help me a lot.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2017 10:00:41 GMT</pubDate>
    <dc:creator>DenisIsack</dc:creator>
    <dc:date>2017-03-24T10:00:41Z</dc:date>
    <item>
      <title>Hello, I am trying to load shape files containing road files i mean custom made map but i have seen the examples but i can't get picture on exactly how to do e.g //= "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapSe</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-i-am-trying-to-load-shape-files-containing/m-p/628407#M1919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; // basemap&lt;BR /&gt; ArcGISTiledMapServiceLayer tiledLayer = new ArcGISTiledMapServiceLayer(URL_BASEMAP);&lt;BR /&gt; //pageLayout = new PageLayoutBean();&lt;BR /&gt;&lt;BR /&gt; map.getLayers().add(tiledLayer);&lt;BR /&gt; String documentPath = "";&lt;BR /&gt; documentPath = "C:" + File.separator + "Users" + File.separator + "Structure" + File.separator + "Desktop" + File.separator + "isa" + File.separator + "application" + File.separator + "app" + File.separator + "now.mxd";&lt;BR /&gt;// if (pageLayout.checkMxFile(documentPath)) {&lt;BR /&gt;// pageLayout.loadMxFile(documentPath, null);&lt;BR /&gt;// }&lt;BR /&gt;// // (Map)pageLayout.getActiveView().getFocusMap();&lt;BR /&gt;// map.add(pageLayout);&lt;BR /&gt; map.getLayers().add(&lt;BR /&gt; new ArcGISLocalFeatureLayer( documentPath, 0,&lt;BR /&gt; RenderingMode.STATIC)); &lt;BR /&gt;// graphics layer for taxi graphics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Basically i need to load my shape file containing road map like one example moving graphic on custom map with .mxd extension &amp;nbsp;2012 java developer summit &amp;nbsp;but i can figure out my way out&lt;/P&gt;&lt;P&gt;I have tried may scenarios but with no luck this is sample map where i want to move my points in java but even given sample source to load this in java&lt;IMG alt="custom map" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/342567_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Mar 2017 07:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/hello-i-am-trying-to-load-shape-files-containing/m-p/628407#M1919</guid>
      <dc:creator>DenisIsack</dc:creator>
      <dc:date>2017-03-18T07:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hello, I am trying to load shape files containing road files i mean custom made map but i have seen the examples but i can't get picture on exactly how to do e.g //= "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/M</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-i-am-trying-to-load-shape-files-containing/m-p/628408#M1920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Denis,&lt;/P&gt;&lt;P&gt;It looks like your code is trying to directly access an MXD file. ArcGIS Runtime APIs can't read MXDs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can create Map Packages from within ArcMap. ArcMap can open your MXD and package the contents of that document into an .MPK file. That MPK can be opened in your Runtime app using a Local Server instance, as described in this example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/java/10-2/sample-code/local-server-feature-layer/" title="https://developers.arcgis.com/java/10-2/sample-code/local-server-feature-layer/"&gt;Local Server feature layer | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, you can read the shapefile directly (using version 10.2.4, which seems to be what you're using?). Here's an example:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/java/10-2/sample-code/shapefile-feature-layer/" title="https://developers.arcgis.com/java/10-2/sample-code/shapefile-feature-layer/"&gt;Shapefile feature layer | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 06:38:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/hello-i-am-trying-to-load-shape-files-containing/m-p/628408#M1920</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2017-03-24T06:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hello, I am trying to load shape files containing road files i mean custom made map but i have seen the examples but i can't get picture on exactly how to do e.g //= "http://services.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/M</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/hello-i-am-trying-to-load-shape-files-containing/m-p/628409#M1921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks it will help me a lot.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2017 10:00:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/hello-i-am-trying-to-load-shape-files-containing/m-p/628409#M1921</guid>
      <dc:creator>DenisIsack</dc:creator>
      <dc:date>2017-03-24T10:00:41Z</dc:date>
    </item>
  </channel>
</rss>

