<?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: SimpleMarkerSymbol using meters in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplemarkersymbol-using-meters/m-p/1401613#M84140</link>
    <description>&lt;P&gt;Rather than using a SimpleMarkerSymbol, you might try something like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Circle.html" target="_self"&gt;Circle&lt;/A&gt; with the 5 meter radius.&lt;/LI&gt;&lt;LI&gt;Using the circle's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Circle.html#extent" target="_self"&gt;extent&lt;/A&gt;, determine the four endpoints for the cross.&lt;/LI&gt;&lt;LI&gt;Create a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polyline.html" target="_self"&gt;Polyline&lt;/A&gt; with 2 paths, one path being the vertical line, and one path being the horizontal line.&lt;/LI&gt;&lt;LI&gt;Create a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html" target="_self"&gt;Graphic&lt;/A&gt; with the polyline as the geometry, and a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html" target="_self"&gt;SimpleLineSymbol&lt;/A&gt; as the symbol.&lt;/LI&gt;&lt;LI&gt;Add the graphic to the view's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#graphics" target="_self"&gt;graphics&lt;/A&gt; or some other &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html" target="_self"&gt;GraphicsLayer&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Whenever the mouse moves:&lt;OL&gt;&lt;LI&gt;Calculate the distance between the map location of the cursor and the center of the polyline's extent.&lt;/LI&gt;&lt;LI&gt;Translate the polyline so it's centered at the mouse's location.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Wed, 27 Mar 2024 18:27:41 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2024-03-27T18:27:41Z</dc:date>
    <item>
      <title>SimpleMarkerSymbol using meters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplemarkersymbol-using-meters/m-p/1401503#M84138</link>
      <description>&lt;P&gt;Good Afternoon&lt;/P&gt;&lt;P&gt;I am trying to create a cross on my map using a SimpleMarkerSymbol. This will be attached to the mouse pointer and is to be used for quick eyeball measuring. As such I need it to be a specific size e.g. 10 meters. I would like it to be a graphic that I can add to my graphics layer.&lt;/P&gt;&lt;P&gt;However the SimpleMarkerSymbol only takes sizes in pixels and points. Pixels can vary depending on the display equipment and I can't find any documentation to help me understand how points would relate to meters.&lt;/P&gt;&lt;P&gt;For other things like the Circle (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Circle.html)" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Circle.html)&lt;/A&gt;&amp;nbsp;I can specify a radius in meters and then use a fill symbol to create a visual that matches the size. i.e. by specifying a radius of 5 meters and then add a Simple FillSymbol I end up with a visible 10 meter circle.&lt;/P&gt;&lt;P&gt;There isn't a cross equivalent of the circle (that I can find) and I can't provide a meter measurement to the only cross element I can find (the SimpleMarkerSymbol) so I'm at a bit of a loss as to how to achieve this. Should I be converting meters to points and if so what is the conversion rate? If not what is the recommended way to achieve this?&lt;/P&gt;&lt;P&gt;Any help or advice would be appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 15:20:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplemarkersymbol-using-meters/m-p/1401503#M84138</guid>
      <dc:creator>Tom_Prutz</dc:creator>
      <dc:date>2024-03-27T15:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleMarkerSymbol using meters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplemarkersymbol-using-meters/m-p/1401613#M84140</link>
      <description>&lt;P&gt;Rather than using a SimpleMarkerSymbol, you might try something like this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Circle.html" target="_self"&gt;Circle&lt;/A&gt; with the 5 meter radius.&lt;/LI&gt;&lt;LI&gt;Using the circle's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Circle.html#extent" target="_self"&gt;extent&lt;/A&gt;, determine the four endpoints for the cross.&lt;/LI&gt;&lt;LI&gt;Create a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polyline.html" target="_self"&gt;Polyline&lt;/A&gt; with 2 paths, one path being the vertical line, and one path being the horizontal line.&lt;/LI&gt;&lt;LI&gt;Create a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Graphic.html" target="_self"&gt;Graphic&lt;/A&gt; with the polyline as the geometry, and a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-SimpleLineSymbol.html" target="_self"&gt;SimpleLineSymbol&lt;/A&gt; as the symbol.&lt;/LI&gt;&lt;LI&gt;Add the graphic to the view's &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#graphics" target="_self"&gt;graphics&lt;/A&gt; or some other &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GraphicsLayer.html" target="_self"&gt;GraphicsLayer&lt;/A&gt;.&lt;/LI&gt;&lt;LI&gt;Whenever the mouse moves:&lt;OL&gt;&lt;LI&gt;Calculate the distance between the map location of the cursor and the center of the polyline's extent.&lt;/LI&gt;&lt;LI&gt;Translate the polyline so it's centered at the mouse's location.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 27 Mar 2024 18:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplemarkersymbol-using-meters/m-p/1401613#M84140</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-03-27T18:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: SimpleMarkerSymbol using meters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplemarkersymbol-using-meters/m-p/1401952#M84149</link>
      <description>&lt;P&gt;Hi Joel&lt;/P&gt;&lt;P&gt;That worked really well thank you, problem solved.&lt;/P&gt;&lt;P&gt;I still find it a little weird that I can specify meters as a size option for my marker symbol but for now at least that doesn't matter.&lt;/P&gt;&lt;P&gt;Thank you very much for taking the time to post such a good solution!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 14:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simplemarkersymbol-using-meters/m-p/1401952#M84149</guid>
      <dc:creator>Tom_Prutz</dc:creator>
      <dc:date>2024-03-28T14:07:11Z</dc:date>
    </item>
  </channel>
</rss>

