<?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: request for more details in examples in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-for-more-details-in-examples/m-p/295467#M27120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi ken,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;marla is right.&amp;nbsp; the ellipses are intended to indicate that it is possible (but not required by the snippet itself) to load additional AMD modules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when you load another unrelated module, you would also refer to that module with a corresponding argument alias.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require([
&amp;nbsp; "esri/graphic", "esri/secondModule" 
], function(Graphic, secondModule ) {
&amp;nbsp; var myLine = {geometry:{"paths":[[[-91.40625,6.328125],[6.328125,19.3359375]]],
&amp;nbsp;&amp;nbsp;&amp;nbsp; "spatialReference":{"wkid":4326}},
&amp;nbsp;&amp;nbsp;&amp;nbsp; "symbol":{"color":[0,0,0,255],"width":1,"type":"esriSLS","style":"esriSLSSolid"}};
&amp;nbsp; var gra = new Graphic(myLine);
&amp;nbsp; ...
});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd/" rel="nofollow noopener noreferrer" target="_blank"&gt;this blog&lt;/A&gt;&lt;SPAN&gt; for more info&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 14:11:26 GMT</pubDate>
    <dc:creator>JohnGravois</dc:creator>
    <dc:date>2021-12-11T14:11:26Z</dc:date>
    <item>
      <title>request for more details in examples</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-for-more-details-in-examples/m-p/295465#M27118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've noticed throughout the API there are areas like the one I'll highlight on this page:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/graphic-amd.html"&gt;https://developers.arcgis.com/javascript/jsapi/graphic-amd.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is example of how to do something in your API:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;require([&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; "esri/graphic", ... &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;], function(Graphic, ... ) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var myLine ={geometry:{"paths":[[[-91.40625,6.328125],[6.328125,19.3359375]]],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "spatialReference":{"wkid":4326}},&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "symbol":{"color":[0,0,0,255],"width":1,"type":"esriSLS","style":"esriSLSSolid"}};&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; var gra= new Graphic(myLine);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The issue is what does "..." equal?&amp;nbsp; Like is is possible in the future to have a solid example for each function?&amp;nbsp; For example, if you are showing how to add a line to a map have the full HTML that just makes a map on a blank page and adds one line, something a coder could copy and paste and play with.&amp;nbsp;&amp;nbsp; In the samples section I can't find an example that adds one line to a map, but tons thatdo all sorts of things on top of adding a line, and it becomes pretty hard just to add a line to map.&amp;nbsp; Maybe that is the goal, keep it hard and keep simple map programmers at google and bing.&amp;nbsp; I guess I recently hosted a developers meeting where we discussed using your code.&amp;nbsp; Since then all that attended have been frustrated away from ever using this code.&amp;nbsp; The issue with everyone is samples where things like&amp;nbsp; "..." exist making it impossible to just copy and paste an example into one's one code.&amp;nbsp; If I was to just make a blank map page with a line what would "..." be equal to, where do I find that.&amp;nbsp; It's the time people spend figuring this out that really pushes them away from ever using this system.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 19:03:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-for-more-details-in-examples/m-p/295465#M27118</guid>
      <dc:creator>KenDeeds</dc:creator>
      <dc:date>2014-05-27T19:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: request for more details in examples</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-for-more-details-in-examples/m-p/295466#M27119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ken,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry to hear that you are having issues with the API, maybe this will help clear some things up. This particular example uses the �??�?��?� because if other modules are added in the application then other classes would be placed here. Sometimes it can be more difficult to break down an example. Is there a particular sample that you are working with that I can help you with? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;require([&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; "esri/graphic",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/map",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; �??esri/dijit/Measurement",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/layers/FeatureLayer",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/renderers/SimpleRenderer",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/symbols/SimpleLineSymbol",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/symbols/SimpleFillSymbol",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;function(Graphic, Map, Measurement, FeatureLayer, SimpleRenderer, SimpleLineSymbol, SimpleFillSymbol){ &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This stuff is tough to learn at first but there are multiple places that you can turn to. I have attached a couple of resources to get you started. Don't get discouraged, we are always here for you. I always found that adding new things to the samples, breaking it, and fixing helped me get to familiar with the API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out this &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jstutorials/intro_firstmap_amd.html"&gt;tutorial&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/graphics_add.html"&gt;sample&lt;/A&gt;&lt;SPAN&gt; has comments to show where the line is being added&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your application is not working the &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/supportcenter/2014/05/06/javascript-debugging-tips-part-i-google-chrome-and-the-network-tab-2/"&gt;web debugging&lt;/A&gt;&lt;SPAN&gt; tools can help you troubleshoot the issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/community.html"&gt;ArcGIS JavaScript community &lt;/A&gt;&lt;SPAN&gt;has a lot of resources to get answer to your questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/inside_dojoLayouts.html"&gt;example&lt;/A&gt;&lt;SPAN&gt; explains layouts of applications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps and please let us know if you have other questions!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Marla K.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 22:55:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-for-more-details-in-examples/m-p/295466#M27119</guid>
      <dc:creator>MarlaKostuk</dc:creator>
      <dc:date>2014-05-27T22:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: request for more details in examples</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-for-more-details-in-examples/m-p/295467#M27120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi ken,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;marla is right.&amp;nbsp; the ellipses are intended to indicate that it is possible (but not required by the snippet itself) to load additional AMD modules.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when you load another unrelated module, you would also refer to that module with a corresponding argument alias.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require([
&amp;nbsp; "esri/graphic", "esri/secondModule" 
], function(Graphic, secondModule ) {
&amp;nbsp; var myLine = {geometry:{"paths":[[[-91.40625,6.328125],[6.328125,19.3359375]]],
&amp;nbsp;&amp;nbsp;&amp;nbsp; "spatialReference":{"wkid":4326}},
&amp;nbsp;&amp;nbsp;&amp;nbsp; "symbol":{"color":[0,0,0,255],"width":1,"type":"esriSLS","style":"esriSLSSolid"}};
&amp;nbsp; var gra = new Graphic(myLine);
&amp;nbsp; ...
});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd/" rel="nofollow noopener noreferrer" target="_blank"&gt;this blog&lt;/A&gt;&lt;SPAN&gt; for more info&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:11:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/request-for-more-details-in-examples/m-p/295467#M27120</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-11T14:11:26Z</dc:date>
    </item>
  </channel>
</rss>

