<?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: Drawing on ArcGIS map using Javascript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422435#M38850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is shared with Everyone(Public).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a public account on argcis.com and uploaded the shapefiles there. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 06:29:04 GMT</pubDate>
    <dc:creator>RoufKhan</dc:creator>
    <dc:date>2013-05-23T06:29:04Z</dc:date>
    <item>
      <title>Drawing on ArcGIS map using Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422430#M38845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Techies:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a web developer with negligible knowledge of GIS. I have been assigned a task of developing a webpage where map from clients ArcGIS server will be displayed. User should be able to draw lines, arcs , circles , points and paths on it and later save it as an image. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For development purpose, I received some shape files from the task assigner which I published at ESRI by creating a Global Account. The same can be viewed at &lt;/SPAN&gt;&lt;A href="http://bit.ly/11KIfJd"&gt;http://bit.ly/11KIfJd&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/webmap/viewer.html?webmap=0e0a77165518468198248c5663dfe8ee&amp;amp;amp;extent=49.8832,26.3824,50.2382,26.5551"&gt;http://www.arcgis.com/home/webmap/viewer.html?webmap=0e0a77165518468198248c5663dfe8ee&amp;amp;amp;extent=49.8832,26.3824,50.2382,26.5551&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While browsing through the examples of &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/&lt;/A&gt;&lt;SPAN&gt;, I found javascript code example which can provide me all the required functionality. The examples show OpenStreetMaps. Now when I try to replace the code urls from OpenStreetmap urls to the above urls (&lt;/SPAN&gt;&lt;A href="http://bit.ly/11KIfJd"&gt;http://bit.ly/11KIfJd&lt;/A&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/webmap/viewer.html?webmap=0e0a77165518468198248c5663dfe8ee&amp;amp;amp;extent=49.8832,26.3824,50.2382,26.5551"&gt;http://www.arcgis.com/home/webmap/viewer.html?webmap=0e0a77165518468198248c5663dfe8ee&amp;amp;amp;extent=49.8832,26.3824,50.2382,26.5551&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;),nothing is displayed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can help me in this regard, that will be highly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 18:28:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422430#M38845</guid>
      <dc:creator>RoufKhan</dc:creator>
      <dc:date>2013-05-17T18:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing on ArcGIS map using Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422431#M38846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if you need to support redline sketches that only need to be printed (not saved as GIS data), you should be able to get away with just using the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/samples/widget_print/"&gt;printTask&lt;/A&gt;&lt;SPAN&gt; (which relies on ArcGIS Server 10.1)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 14:47:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422431#M38846</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-05-20T14:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing on ArcGIS map using Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422432#M38847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;in re-reading your thread i think i understand now that you were attempting to substitute a webmap in a sample application that was previously relying on a map service.&amp;nbsp; those two things are not interchangeable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the sample application i linked to above is still relevant, but if you would like to load in your content as a webmap (instead of using the urls of the services themselves), it might be handy to take a look at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/ags_createwebmapid.html"&gt;this example&lt;/A&gt;&lt;SPAN&gt; to see how a webmap can be loaded in a custom JS app using its ID.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 14:54:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422432#M38847</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-05-20T14:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing on ArcGIS map using Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422433#M38848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you John for taking your time. You have reached the heart of my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I uploaded my map at &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.arcgis.com/home/webmap/embedViewer.html?webmap=0e0a77165518468198248c5663dfe8ee&amp;amp;extent=49.6625,26.1811,50.4823,26.6147"&gt;http://www.arcgis.com/home/webmap/embedViewer.html?webmap=0e0a77165518468198248c5663dfe8ee&amp;amp;extent=49.6625,26.1811,50.4823,26.6147&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the url , it seems that the id of this map is 0e0a77165518468198248c5663dfe8ee&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, going to the script you advised for&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Replacing the line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var mapDeferred = esri.arcgis.utils.createMap("4778fee6371d4e83a22786029f30c7e1", "map");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var mapDeferred = esri.arcgis.utils.createMap("0e0a77165518468198248c5663dfe8ee", "map");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;, I was expecting happy coding ahead, but it only kept the worries intact! Blank Screen! No output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your further kind help will be highly appreciated. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RAK&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 16:57:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422433#M38848</guid>
      <dc:creator>RoufKhan</dc:creator>
      <dc:date>2013-05-20T16:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing on ArcGIS map using Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422434#M38849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ID of the webmap you are using is shared as Public or have restricted access to the user. If it has a restricted access then you need to supply the token.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/ags_secureservices.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/ags_secureservices.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 02:54:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422434#M38849</guid>
      <dc:creator>VinayBansal</dc:creator>
      <dc:date>2013-05-21T02:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing on ArcGIS map using Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422435#M38850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is shared with Everyone(Public).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a public account on argcis.com and uploaded the shapefiles there. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 06:29:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422435#M38850</guid>
      <dc:creator>RoufKhan</dc:creator>
      <dc:date>2013-05-23T06:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Drawing on ArcGIS map using Javascript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422436#M38851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Replacing the webmap ID on the sample should work. Make sure you have used the correct path for importing the css:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="css/layout.css"&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 18:28:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/drawing-on-arcgis-map-using-javascript/m-p/422436#M38851</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2013-05-23T18:28:41Z</dc:date>
    </item>
  </channel>
</rss>

