<?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 highlight points ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-highlight-points/m-p/541935#M50463</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;I am new in this froum, thank you for your welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to highlight points on a map by sending a request in an URL. The parameters of the URL would be the latitude and the longitude of each point I want to highlight. A little bit like Google Maps, when it displays pins on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 May 2017 13:37:18 GMT</pubDate>
    <dc:creator>C_Chipniz</dc:creator>
    <dc:date>2017-05-18T13:37:18Z</dc:date>
    <item>
      <title>How to highlight points ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-highlight-points/m-p/541935#M50463</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;I am new in this froum, thank you for your welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to highlight points on a map by sending a request in an URL. The parameters of the URL would be the latitude and the longitude of each point I want to highlight. A little bit like Google Maps, when it displays pins on the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to achieve this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 13:37:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-highlight-points/m-p/541935#M50463</guid>
      <dc:creator>C_Chipniz</dc:creator>
      <dc:date>2017-05-18T13:37:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight points ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-highlight-points/m-p/541936#M50464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;C. Chipniz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So you want to add points to the map or do you want to query existing data from a ArcGIS Server Map Service?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 13:39:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-highlight-points/m-p/541936#M50464</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-05-18T13:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to highlight points ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-highlight-points/m-p/541937#M50465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Robert posted, it really depends on the specifics of what&amp;nbsp;you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to add a point to an existing map and persist that point? &amp;nbsp;You need to have backend infrastructure set up to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to visually add a point to a map in the client? &amp;nbsp;You can do this without making a request, but it won't be persisted anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you want to highlight a point that already exists? &amp;nbsp;You can visually highlight a point in the client, or you could edit the point on the backend to represent it being highlighted, so anyone who pulls in that map can see what is highlighted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you're new to the API, I'd take a look at esri/Graphic. &amp;nbsp;Things that are added to the map in the JS API are called graphics. &amp;nbsp;Graphics consist of attributes (key-value pairs, must be strings/numbers), geometries (the shape of the graphic: polygon, line, point, multipoint, extent (bounding box), or circle), and a symbol (how the geometry is symbolized on the map, the color, fill, etc). &amp;nbsp;Graphics can be added to a map in the client, without communicating to any service, but often they are added to a map in response to data that is from some other service, whether an Esri service or a list of lng/lats from any&amp;nbsp;server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a simple example from the 4.XX SDK that adds three graphics with different types of geometry to a 2D map: &lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=get-started-graphics" title="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=get-started-graphics"&gt;ArcGIS API for JavaScript Sandbox&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 13:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-highlight-points/m-p/541937#M50465</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-05-18T13:54:45Z</dc:date>
    </item>
  </channel>
</rss>

