<?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 Performance issue with thousands of markers in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/performance-issue-with-thousands-of-markers/m-p/532535#M3614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I have a performance issue creating 1000 markers on ArcGIS map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Below is a demo code snippet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;geo_map &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Ext&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;getCmp&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;'geo_map'&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;).&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;body&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;id&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; basemap&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;"topo"&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; center&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #006666;"&gt;96&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #006666;"&gt;37&lt;/SPAN&gt;],&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; zoom&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="font-size: 13px; color: #800000;"&gt;4&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;});&lt;/SPAN&gt;&lt;/CODE&gt;
&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;geo_map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;on&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;"load"&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;GetMarkers&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;me&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; geo_map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; config_settings&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; map_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; test_status&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;});&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;GetMarkers&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;obj&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; config_settings&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; map_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; test_status&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;){&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Ext&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Object&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;each&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;map_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;marker_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;){&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; lng &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;lng&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; lat &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;lat&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker_icon &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;amp;chld=|C0C0C0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;amp;chld=|C0C0C0&lt;/A&gt;&lt;SPAN&gt;|"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;layers&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;GraphicsLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;();&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; p &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;lng&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; lat&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; s &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;PictureMarkerSymbol&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;marker_icon&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="font-size: 13px; color: #800000;"&gt;51&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="font-size: 13px; color: #800000;"&gt;51&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; g &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;p&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; s&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="com" style="font-size: 13px; color: #808080;"&gt;//console.log(marker);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; marker&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;add&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;g&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;addLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;marker&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;This is just a sample code. I get stop script error on all browser. The same code works fine for Google maps with 10000 markers. Is there any alternate way of creating markers in ArcGIS to improvise?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 23:09:40 GMT</pubDate>
    <dc:creator>AkshayUpadhyay</dc:creator>
    <dc:date>2021-12-11T23:09:40Z</dc:date>
    <item>
      <title>Performance issue with thousands of markers</title>
      <link>https://community.esri.com/t5/developers-questions/performance-issue-with-thousands-of-markers/m-p/532535#M3614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;I have a performance issue creating 1000 markers on ArcGIS map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;Below is a demo code snippet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;geo_map &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Ext&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;getCmp&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;'geo_map'&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;).&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;body&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;id&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; basemap&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;"topo"&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; center&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;[&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;-&lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #006666;"&gt;96&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="color: #006666;"&gt;37&lt;/SPAN&gt;],&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; zoom&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="font-size: 13px; color: #800000;"&gt;4&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;});&lt;/SPAN&gt;&lt;/CODE&gt;
&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;geo_map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;on&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;"load"&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;()&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;GetMarkers&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;me&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; geo_map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; config_settings&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; map_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; test_status&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;});&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;GetMarkers&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;obj&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; config_settings&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; map_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; test_status&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;){&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Ext&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Object&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;each&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;map_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;marker_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;){&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; lng &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;lng&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; lat &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker_data&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;lat&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker_icon &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="str" style="font-size: 13px; color: #800000;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;amp;chld=|C0C0C0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;amp;chld=|C0C0C0&lt;/A&gt;&lt;SPAN&gt;|"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; marker&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;layers&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;GraphicsLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;();&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; p &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Point&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;lng&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; lat&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; s &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;PictureMarkerSymbol&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;marker_icon&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="font-size: 13px; color: #800000;"&gt;51&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="lit" style="font-size: 13px; color: #800000;"&gt;51&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; g &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-size: 13px; color: #00008b;"&gt;new&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; esri&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="typ" style="font-size: 13px; color: #2b91af;"&gt;Graphic&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;p&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt; s&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="com" style="font-size: 13px; color: #808080;"&gt;//console.log(marker);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; marker&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;add&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;g&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp; map&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;addLayer&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;marker&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;}&lt;/SPAN&gt;&lt;SPAN class="pln" style="font-size: 13px; color: #000000;"&gt;
&lt;/SPAN&gt;&lt;SPAN class="pun" style="font-size: 13px; color: #000000;"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;This is just a sample code. I get stop script error on all browser. The same code works fine for Google maps with 10000 markers. Is there any alternate way of creating markers in ArcGIS to improvise?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/performance-issue-with-thousands-of-markers/m-p/532535#M3614</guid>
      <dc:creator>AkshayUpadhyay</dc:creator>
      <dc:date>2021-12-11T23:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue with thousands of markers</title>
      <link>https://community.esri.com/t5/developers-questions/performance-issue-with-thousands-of-markers/m-p/532536#M3615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems that you are creating a new graphic layer for each graphic so you have 1000+ graphic layer on map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="keyword"&gt;var marker= &lt;SPAN class="keyword"&gt;new&lt;/SPAN&gt; esri.layers.GraphicsLayer();&lt;/SPAN&gt;
&lt;SPAN class="keyword"&gt; &lt;SPAN class="keyword"&gt;var marker_icon = &lt;SPAN class="string"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;amp;chld=|C0C0C0" rel="nofollow noopener noreferrer" target="_blank"&gt;http://chart.apis.google.com/chart?chst=d_map_pin_letter&amp;amp;chld=|C0C0C0&lt;/A&gt;&lt;SPAN&gt;|"&lt;/SPAN&gt;&lt;/SPAN&gt;;&amp;nbsp; 
&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="keyword"&gt; &lt;SPAN class="keyword"&gt;var s = &lt;SPAN class="keyword"&gt;new&lt;/SPAN&gt; esri.symbol.PictureMarkerSymbol(marker_icon, &lt;SPAN class="number"&gt;51&lt;/SPAN&gt;, &lt;SPAN class="number"&gt;51&lt;/SPAN&gt;);&amp;nbsp; 
&lt;/SPAN&gt;&lt;/SPAN&gt;
&lt;SPAN class="keyword"&gt;//TODO:Iterate through your data&lt;/SPAN&gt;
&lt;SPAN class="keyword"&gt;map.addLayer(marker);&amp;nbsp; &lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:09:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/performance-issue-with-thousands-of-markers/m-p/532536#M3615</guid>
      <dc:creator>AhmedEl-Sisi</dc:creator>
      <dc:date>2021-12-11T23:09:43Z</dc:date>
    </item>
  </channel>
</rss>

