<?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 Textsymbol while adding to marker its takes long time to execute and show on map in arcgis 3.9 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-while-adding-to-marker-its-takes-long/m-p/506521#M47123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the below code which i am facing the for loop execute taking more than 10min for the textsymbol. Why I am getting this time to execute this much time i dont know. after execution only the markers is displayed on map. Near to marker associated lables will be displayed.&lt;/P&gt;&lt;P&gt;var labelArray=[];&lt;/P&gt;&lt;P&gt;var schTextSymbol = new TextSymbol();&lt;BR /&gt; schTextSymbol.setAlign(TextSymbol.ALIGN_MIDDLE);&lt;BR /&gt; schTextSymbol.setOffset(0, 13);&lt;BR /&gt; schTextSymbol.setText(parseInt(numb));&lt;BR /&gt; schTextSymbol.font.setSize("10pt");&lt;BR /&gt; schTextSymbol.font.setFamily("Courier");&lt;BR /&gt; count =0;&lt;BR /&gt; var graphic = new Graphic(new Point(parseFloat(stnX),&lt;BR /&gt; parseFloat(stnY), wgs),schTextSymbol);&lt;BR /&gt; var countyLayer = new GraphicsLayer();&lt;BR /&gt; countyLayer.add(graphicAnno);&lt;BR /&gt; countyLayer.setMaxScale(0);&lt;BR /&gt; countyLayer.setMinScale(288895.277144);&lt;BR /&gt; labelArray.push(countyLayer);&lt;/P&gt;&lt;P&gt;for ( var j = 0; j &amp;lt; labelArray.length; j++) { &lt;BR /&gt; map.addLayer(labelArray&lt;J&gt;);&lt;BR /&gt; }&lt;/J&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 12:28:10 GMT</pubDate>
    <dc:creator>vanarajranjit</dc:creator>
    <dc:date>2017-06-09T12:28:10Z</dc:date>
    <item>
      <title>Textsymbol while adding to marker its takes long time to execute and show on map in arcgis 3.9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-while-adding-to-marker-its-takes-long/m-p/506521#M47123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the below code which i am facing the for loop execute taking more than 10min for the textsymbol. Why I am getting this time to execute this much time i dont know. after execution only the markers is displayed on map. Near to marker associated lables will be displayed.&lt;/P&gt;&lt;P&gt;var labelArray=[];&lt;/P&gt;&lt;P&gt;var schTextSymbol = new TextSymbol();&lt;BR /&gt; schTextSymbol.setAlign(TextSymbol.ALIGN_MIDDLE);&lt;BR /&gt; schTextSymbol.setOffset(0, 13);&lt;BR /&gt; schTextSymbol.setText(parseInt(numb));&lt;BR /&gt; schTextSymbol.font.setSize("10pt");&lt;BR /&gt; schTextSymbol.font.setFamily("Courier");&lt;BR /&gt; count =0;&lt;BR /&gt; var graphic = new Graphic(new Point(parseFloat(stnX),&lt;BR /&gt; parseFloat(stnY), wgs),schTextSymbol);&lt;BR /&gt; var countyLayer = new GraphicsLayer();&lt;BR /&gt; countyLayer.add(graphicAnno);&lt;BR /&gt; countyLayer.setMaxScale(0);&lt;BR /&gt; countyLayer.setMinScale(288895.277144);&lt;BR /&gt; labelArray.push(countyLayer);&lt;/P&gt;&lt;P&gt;for ( var j = 0; j &amp;lt; labelArray.length; j++) { &lt;BR /&gt; map.addLayer(labelArray&lt;J&gt;);&lt;BR /&gt; }&lt;/J&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 12:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/textsymbol-while-adding-to-marker-its-takes-long/m-p/506521#M47123</guid>
      <dc:creator>vanarajranjit</dc:creator>
      <dc:date>2017-06-09T12:28:10Z</dc:date>
    </item>
  </channel>
</rss>

