<?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 How to cluster other geometry than &amp;quot;points&amp;quot;? And advice for clustering functionality in future ArcGIS JS API releases. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-cluster-other-geometry-than-quot-points/m-p/119471#M11089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys we got some support questions from customers in which we are interested if anyone of you knows more about these issues and maybe how to achieve them with the tools available right now. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Is it true right now only points are supported for clustering? If yes: is it planned to support other geometry types as well, e.g. lines and polygons?&lt;BR /&gt;&lt;SPAN lang="de" style="color: inherit; border: 0px;"&gt;We already opened an issue and an enhancement request for this topic - see:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A data-auth="NotApplicable" href="https://my.esri.com/#/support/cases/02553289" rel="noopener noreferrer" style="border: 0px;" target="_blank"&gt;https://my.esri.com/#/support/cases/02553289&lt;/A&gt;&lt;BR /&gt;&lt;A data-auth="NotApplicable" href="https://my.esri.com/#/support/bugs/ENH-000130897" rel="noopener noreferrer" style="border: 0px;" target="_blank"&gt;https://my.esri.com/#/support/bugs/ENH-000130897&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;Is is planned to support an „exploding animation“ for clusters on click (and/or mouseover) to get an object for each clustered object to access the individuell object information (via pop-up)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;as shown in the uploaded pictures: 2_clusteranimation and 2_clusteranimation_popup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN&gt;3) Is it true, that right now only FeatureServer services are supported for clustering? If yes: is it planned to support other service types as well, e.g. MapServer services?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN&gt;4)&amp;nbsp;Are there any plans&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;to adopt the functionality which could make it possible to see which types of features and how many of them per category are clustered?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;as shown in the uploaded picture: 4_clusteranimation_advancedlabeling&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Thanks for your suggestions, opinions and information in advance!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Best regards!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Christian&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;PS: With the currently available tools of the ArcGIS JS API maybe point 2) could be solved like this (maybe even point 4 with a similar approach, just not on a mouse event, but as soon as the MapView is ready)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #201f1e; border: 0px; font-size: 12pt;"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;do a hitTest&amp;nbsp;at mouseover/click on cluster&lt;BR /&gt;&lt;/SPAN&gt;&lt;A data-auth="NotApplicable" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest" rel="noopener noreferrer" style="color: black; border: 0px; font-weight: inherit; font-size: 12pt;" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest&lt;/A&gt;&lt;BR /&gt;if hitTest isnt' the right choice maybe try query the feature layer at the current pointer position&lt;BR /&gt;&lt;A data-auth="NotApplicable" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html" rel="noopener noreferrer" style="border: 0px; font-weight: inherit; font-size: 12pt;" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html&lt;BR /&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV style="color: black; border: 0px; font-size: 12pt;"&gt;&lt;UL&gt;&lt;LI&gt;then add the returned features as Graphics to the MapView&amp;nbsp;(obviously adding the needed GraphicsLayer previously)&lt;/LI&gt;&lt;LI&gt;create a popupTemplate for the newly added Graphics&lt;/LI&gt;&lt;LI&gt;if the pointer leaves the current cluster remove all the Graphics from GraphicsLayer&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jul 2020 13:43:55 GMT</pubDate>
    <dc:creator>ChristianBischof</dc:creator>
    <dc:date>2020-07-15T13:43:55Z</dc:date>
    <item>
      <title>How to cluster other geometry than "points"? And advice for clustering functionality in future ArcGIS JS API releases.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-cluster-other-geometry-than-quot-points/m-p/119471#M11089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys we got some support questions from customers in which we are interested if anyone of you knows more about these issues and maybe how to achieve them with the tools available right now. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Is it true right now only points are supported for clustering? If yes: is it planned to support other geometry types as well, e.g. lines and polygons?&lt;BR /&gt;&lt;SPAN lang="de" style="color: inherit; border: 0px;"&gt;We already opened an issue and an enhancement request for this topic - see:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A data-auth="NotApplicable" href="https://my.esri.com/#/support/cases/02553289" rel="noopener noreferrer" style="border: 0px;" target="_blank"&gt;https://my.esri.com/#/support/cases/02553289&lt;/A&gt;&lt;BR /&gt;&lt;A data-auth="NotApplicable" href="https://my.esri.com/#/support/bugs/ENH-000130897" rel="noopener noreferrer" style="border: 0px;" target="_blank"&gt;https://my.esri.com/#/support/bugs/ENH-000130897&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;Is is planned to support an „exploding animation“ for clusters on click (and/or mouseover) to get an object for each clustered object to access the individuell object information (via pop-up)?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;as shown in the uploaded pictures: 2_clusteranimation and 2_clusteranimation_popup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN&gt;3) Is it true, that right now only FeatureServer services are supported for clustering? If yes: is it planned to support other service types as well, e.g. MapServer services?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN&gt;4)&amp;nbsp;Are there any plans&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;to adopt the functionality which could make it possible to see which types of features and how many of them per category are clustered?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;as shown in the uploaded picture: 4_clusteranimation_advancedlabeling&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Thanks for your suggestions, opinions and information in advance!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Best regards!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Christian&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #323130; background-color: #ffffff; font-size: 14.6667px;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;PS: With the currently available tools of the ArcGIS JS API maybe point 2) could be solved like this (maybe even point 4 with a similar approach, just not on a mouse event, but as soon as the MapView is ready)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="color: #201f1e; border: 0px; font-size: 12pt;"&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;do a hitTest&amp;nbsp;at mouseover/click on cluster&lt;BR /&gt;&lt;/SPAN&gt;&lt;A data-auth="NotApplicable" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest" rel="noopener noreferrer" style="color: black; border: 0px; font-weight: inherit; font-size: 12pt;" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#hitTest&lt;/A&gt;&lt;BR /&gt;if hitTest isnt' the right choice maybe try query the feature layer at the current pointer position&lt;BR /&gt;&lt;A data-auth="NotApplicable" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html" rel="noopener noreferrer" style="border: 0px; font-weight: inherit; font-size: 12pt;" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-tasks-support-Query.html&lt;BR /&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;DIV style="color: black; border: 0px; font-size: 12pt;"&gt;&lt;UL&gt;&lt;LI&gt;then add the returned features as Graphics to the MapView&amp;nbsp;(obviously adding the needed GraphicsLayer previously)&lt;/LI&gt;&lt;LI&gt;create a popupTemplate for the newly added Graphics&lt;/LI&gt;&lt;LI&gt;if the pointer leaves the current cluster remove all the Graphics from GraphicsLayer&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2020 13:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-cluster-other-geometry-than-quot-points/m-p/119471#M11089</guid>
      <dc:creator>ChristianBischof</dc:creator>
      <dc:date>2020-07-15T13:43:55Z</dc:date>
    </item>
  </channel>
</rss>

