<?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: Point clustering in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750185#M69408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any chance to get point clustering to API? It would be really nice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Atb,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tomas&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://twitter.com/tonovotny"&gt;@tonovotny&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Apr 2013 06:27:20 GMT</pubDate>
    <dc:creator>TomasNovotny</dc:creator>
    <dc:date>2013-04-18T06:27:20Z</dc:date>
    <item>
      <title>Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750183#M69406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have been trying to modify the Point clustering sample found here &lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://www.arcgis.com/home/item.html?id=4174dcae65bf42e1b776c17da4b279c1" rel="nofollow" target="_blank"&gt;http://www.arcgis.com/home/item.html?id=4174dcae65bf42e1b776c17da4b279c1&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;to use the results of a query task without much luck. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone provide a modified version that uses a query task?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 22:21:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750183#M69406</guid>
      <dc:creator>RobertPincus</dc:creator>
      <dc:date>2013-04-17T22:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750184#M69407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's an example that uses a query task to get data from a map service and puts it in the format expected by the cluster layer:&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://dl.dropboxusercontent.com/u/2654618/query_task_point_clustering/index.html" rel="nofollow" target="_blank"&gt;http://dl.dropboxusercontent.com/u/2654618/query_task_point_clustering/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't change anything in extras/ClusterLayer.js. The dojo.map statement that creates an array of objects in the format expected by the cluster layer in the addClusters function is probably the piece you were missing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2013 23:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750184#M69407</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-04-17T23:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750185#M69408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Derek,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;any chance to get point clustering to API? It would be really nice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Atb,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tomas&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://twitter.com/tonovotny"&gt;@tonovotny&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 06:27:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750185#M69408</guid>
      <dc:creator>TomasNovotny</dc:creator>
      <dc:date>2013-04-18T06:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750186#M69409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Derek in your example, you are querying against a featureserver. Can you query against a mapserver instead or does it have to be a featureserver to do clustering?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:19:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750186#M69409</guid>
      <dc:creator>BetsySchenck-Gardner</dc:creator>
      <dc:date>2013-04-18T13:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750187#M69410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Derek,&lt;BR /&gt;any chance to get point clustering to API? It would be really nice.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We'd like to do it but we don't have a timeline for making it happen.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750187#M69410</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-04-18T13:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750188#M69411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Derek in your example, you are querying against a featureserver. Can you query against a mapserver instead or does it have to be a featureserver to do clustering?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the type of thing that's easy to test and figure out on your own :). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The answer is yes, you can query against a layer in map service. I used a feature service because it was readily available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750188#M69411</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2013-04-18T13:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750189#M69412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sometimes it's just easier to ask and not waste hours trying to get it to work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 13:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750189#M69412</guid>
      <dc:creator>BetsySchenck-Gardner</dc:creator>
      <dc:date>2013-04-18T13:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750190#M69413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just a quick note: as long as the data is prepared in the way the clusterLayer class expects, it can be from any source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This is the type of thing that's easy to test and figure out on your own :). &lt;BR /&gt;&lt;BR /&gt;The answer is yes, you can query against a layer in map service. I used a feature service because it was readily available.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 14:38:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750190#M69413</guid>
      <dc:creator>DawenXie</dc:creator>
      <dc:date>2013-04-18T14:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Point clustering</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750191#M69414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Derek for your help. I got the clustering to work. I think I had most of it correct yesterday, but the layer that I was clustering was in a different spatial reference than the base layer. Once I altered the cluster layer's spatial reference to match that of the base layer everything works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One more question. Is there a way to set scale dependencies for the cluster layer? I want to be able to turn it off at 1:10,000 and then show the original layer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2013 18:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/point-clustering/m-p/750191#M69414</guid>
      <dc:creator>RobertPincus</dc:creator>
      <dc:date>2013-04-18T18:27:35Z</dc:date>
    </item>
  </channel>
</rss>

