<?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 Load local layer (shape) in HTML viewer API for Javascript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/load-local-layer-shape-in-html-viewer-api-for/m-p/436556#M40197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are any application (.NET, Java, ...) that can be used to load in HTML viewer Javascript API, like the widget "Shape File Overlay for Sample Viewer" for Flex API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pau Pérez&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 12:52:02 GMT</pubDate>
    <dc:creator>PauPérez_Puigcerver</dc:creator>
    <dc:date>2010-12-21T12:52:02Z</dc:date>
    <item>
      <title>Load local layer (shape) in HTML viewer API for Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/load-local-layer-shape-in-html-viewer-api-for/m-p/436556#M40197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are any application (.NET, Java, ...) that can be used to load in HTML viewer Javascript API, like the widget "Shape File Overlay for Sample Viewer" for Flex API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pau Pérez&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 12:52:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/load-local-layer-shape-in-html-viewer-api-for/m-p/436556#M40197</guid>
      <dc:creator>PauPérez_Puigcerver</dc:creator>
      <dc:date>2010-12-21T12:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Load local layer (shape) in HTML viewer API for Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/load-local-layer-shape-in-html-viewer-api-for/m-p/436557#M40198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This question has been posted several times in this forum. Yes you can do it. But you need a server-roundtrip for this. JavaScript doesn't allow the direct access to your local drive, due to security restrictions. JS runs in a webbrowser who shouldn't access your local filesystem automatically. Therefore it is not possible with the JS-API alone.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have to upload your shapefile via HTML mechanisms to a server-component, like the code-behind of an ASPX-page. You can parse your shapefile transform it for example to a JSON format (for example a FeatureSet) and send the results back to the client with a callback. The client can draw the results directly on the GraphicsLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 07:24:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/load-local-layer-shape-in-html-viewer-api-for/m-p/436557#M40198</guid>
      <dc:creator>AxelSchaefer</dc:creator>
      <dc:date>2010-12-22T07:24:35Z</dc:date>
    </item>
  </channel>
</rss>

