<?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 Problem hosting web map template in local web server in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-hosting-web-map-template-in-local-web/m-p/409471#M37700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is the Webmap I have prepared in ArcGIS online.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/apps/Viewer/index.html?appid=c72a0fc5e554462daec7df89bcc3adf4" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/apps/Viewer/index.html?appid=c72a0fc5e554462daec7df89bcc3adf4&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have downloaded a sample template from&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://github.com/Esri/Viewer" rel="nofollow" target="_blank"&gt;https://github.com/Esri/Viewer&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to host at local web server at &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://arcgis.tylin.com/" rel="nofollow" target="_blank"&gt;http://arcgis.tylin.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I have uploaded the template into the local webserver&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this video I come to know that I can copy the layers from the web map in ArcGIS online to the web map hosting at local web server by copying a webmap id.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://video.esri.com/watch/2254/getting-started-with-arcgis-api-for-javascript" rel="nofollow" target="_blank"&gt;http://video.esri.com/watch/2254/getting-started-with-arcgis-api-for-javascript&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the information provided in “LocalWebapp.md” file, I went to this link&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://github.com/jsomerville/Viewer/commit/476da3aaade082109c87496233f324d5acbef72f" rel="nofollow" target="_blank"&gt;https://github.com/jsomerville/Viewer/commit/476da3aaade082109c87496233f324d5acbef72f&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have made changes in the defaults.js as per the above mentioned link.&amp;nbsp; You can get the default.js file at &lt;A class="jive-link-external-small" href="https://www.dropbox.com/s/x861akavdxmbxtq/defaults.js?dl=0" rel="nofollow" target="_blank"&gt;https://www.dropbox.com/s/x861akavdxmbxtq/defaults.js?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have made changes in&amp;nbsp; &lt;SPAN style="color: #df5000; background: #EAFFEA; font-size: 9.0pt; font-family: Consolas;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #df5000; background: #EAFFEA;"&gt;extent&lt;SPAN class="pl-pds"&gt;", “title”&amp;nbsp; &amp;amp; "&lt;/SPAN&gt;&lt;/SPAN&gt;itemId&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; The result of this, the extents gets smaller and it’s not reflecting the layers from web map in ArcGIS online.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please correct me where I am getting wrong. Any help will be highly appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With best regards,&lt;/P&gt;&lt;P&gt;From Prashant Kuranjekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2015 21:41:44 GMT</pubDate>
    <dc:creator>TYLINInternational</dc:creator>
    <dc:date>2015-02-05T21:41:44Z</dc:date>
    <item>
      <title>Problem hosting web map template in local web server</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-hosting-web-map-template-in-local-web/m-p/409471#M37700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is the Webmap I have prepared in ArcGIS online.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/apps/Viewer/index.html?appid=c72a0fc5e554462daec7df89bcc3adf4" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/apps/Viewer/index.html?appid=c72a0fc5e554462daec7df89bcc3adf4&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have downloaded a sample template from&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://github.com/Esri/Viewer" rel="nofollow" target="_blank"&gt;https://github.com/Esri/Viewer&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to host at local web server at &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://arcgis.tylin.com/" rel="nofollow" target="_blank"&gt;http://arcgis.tylin.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I have uploaded the template into the local webserver&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this video I come to know that I can copy the layers from the web map in ArcGIS online to the web map hosting at local web server by copying a webmap id.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://video.esri.com/watch/2254/getting-started-with-arcgis-api-for-javascript" rel="nofollow" target="_blank"&gt;http://video.esri.com/watch/2254/getting-started-with-arcgis-api-for-javascript&lt;/A&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per the information provided in “LocalWebapp.md” file, I went to this link&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://github.com/jsomerville/Viewer/commit/476da3aaade082109c87496233f324d5acbef72f" rel="nofollow" target="_blank"&gt;https://github.com/jsomerville/Viewer/commit/476da3aaade082109c87496233f324d5acbef72f&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have made changes in the defaults.js as per the above mentioned link.&amp;nbsp; You can get the default.js file at &lt;A class="jive-link-external-small" href="https://www.dropbox.com/s/x861akavdxmbxtq/defaults.js?dl=0" rel="nofollow" target="_blank"&gt;https://www.dropbox.com/s/x861akavdxmbxtq/defaults.js?dl=0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have made changes in&amp;nbsp; &lt;SPAN style="color: #df5000; background: #EAFFEA; font-size: 9.0pt; font-family: Consolas;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: Consolas; color: #df5000; background: #EAFFEA;"&gt;extent&lt;SPAN class="pl-pds"&gt;", “title”&amp;nbsp; &amp;amp; "&lt;/SPAN&gt;&lt;/SPAN&gt;itemId&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; The result of this, the extents gets smaller and it’s not reflecting the layers from web map in ArcGIS online.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please correct me where I am getting wrong. Any help will be highly appreciated.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With best regards,&lt;/P&gt;&lt;P&gt;From Prashant Kuranjekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 21:41:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/problem-hosting-web-map-template-in-local-web/m-p/409471#M37700</guid>
      <dc:creator>TYLINInternational</dc:creator>
      <dc:date>2015-02-05T21:41:44Z</dc:date>
    </item>
  </channel>
</rss>

