<?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: DistanceMeasurement2D when swapping to 3d map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distancemeasurement2d-when-swapping-to-3d-map/m-p/1234488#M79427</link>
    <description>&lt;P data-unlink="true"&gt;thank you for the replay,&lt;BR /&gt;after research i put the graphics&amp;nbsp; from the measurement2D widget into my own graphic layer and disabled the widget, and it worked out fine.&lt;BR /&gt;i did look at the sample, and realize that this is the proper way to do it , so i did it as the sample show, and saved the graphics from the measurement widget for future use.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 14:30:51 GMT</pubDate>
    <dc:creator>EliyahoLevi</dc:creator>
    <dc:date>2022-11-23T14:30:51Z</dc:date>
    <item>
      <title>DistanceMeasurement2D when swapping to 3d map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distancemeasurement2d-when-swapping-to-3d-map/m-p/1211422#M78664</link>
      <description>&lt;P&gt;Hi, I'm having a problem with the DistanceMeasurement2D widget.&lt;/P&gt;&lt;P&gt;when I switch my map from 2d to 3d my previous measurement graphics disappear and I still have the widget popup&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliyahoLevi_0-1662882084972.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/50892iAB45C6F285E27360/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliyahoLevi_0-1662882084972.png" alt="EliyahoLevi_0-1662882084972.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;without the option to draw a new measurement.&lt;BR /&gt;how to I keep my graphics and represent them when switching back to 2d map?&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 07:43:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distancemeasurement2d-when-swapping-to-3d-map/m-p/1211422#M78664</guid>
      <dc:creator>EliyahoLevi</dc:creator>
      <dc:date>2022-09-11T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: DistanceMeasurement2D when swapping to 3d map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distancemeasurement2d-when-swapping-to-3d-map/m-p/1234132#M79413</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/610453"&gt;@EliyahoLevi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you looked into this &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-measurement/" target="_self"&gt;sample&lt;/A&gt; which shows how to use &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html" target="_self"&gt;Measurement widget&lt;/A&gt; and switch between 2D and 3D?&lt;BR /&gt;But note that&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DistanceMeasurement2D.html" target="_self"&gt;DistanceMeasurement2D&lt;/A&gt; (for 2D) and &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-DirectLineMeasurement3D.html" target="_self"&gt;DirectLineMeasurement3D&lt;/A&gt; (for 3D) are separate widgets and work slightly differently, e.g. the latter only allows measuring between 2 points whereas with the former you can measure a polyline with multiple vertices. Therefore it is not really possible to keep the graphcis after switching.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it does look weird on your screenshot that the popup stays (in the sample it doesn't happen). Do you have a sample app/codepen you could share?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 15:42:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distancemeasurement2d-when-swapping-to-3d-map/m-p/1234132#M79413</guid>
      <dc:creator>GreteSoosalu</dc:creator>
      <dc:date>2022-11-22T15:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: DistanceMeasurement2D when swapping to 3d map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distancemeasurement2d-when-swapping-to-3d-map/m-p/1234488#M79427</link>
      <description>&lt;P data-unlink="true"&gt;thank you for the replay,&lt;BR /&gt;after research i put the graphics&amp;nbsp; from the measurement2D widget into my own graphic layer and disabled the widget, and it worked out fine.&lt;BR /&gt;i did look at the sample, and realize that this is the proper way to do it , so i did it as the sample show, and saved the graphics from the measurement widget for future use.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 14:30:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/distancemeasurement2d-when-swapping-to-3d-map/m-p/1234488#M79427</guid>
      <dc:creator>EliyahoLevi</dc:creator>
      <dc:date>2022-11-23T14:30:51Z</dc:date>
    </item>
  </channel>
</rss>

