<?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 Javafx SketchEditor TouchScreen Issue in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/javafx-sketcheditor-touchscreen-issue/m-p/1225564#M6389</link>
    <description>&lt;P&gt;Hi I am hoping this is a newbie issue however I am having issues with SketchEditor working on my touch screen. Using the mouse works fine as per the attached video. I can see when I call the method (example at bottom) via touch the editor is started however the MapView does not recognize the interaction. All other aspects within the application work fine via touch ie the Mil Symbols etc. What newbie mistake am I making.&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6314379509112w400h250r318" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6314379509112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6314379509112w400h250r318');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6314379509112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;* Clear selection of any graphic in the graphics overlay and start a new&lt;BR /&gt;* rectangle sketch.&lt;BR /&gt;*/&lt;BR /&gt;@FXML&lt;BR /&gt;private void handleRectangleButtonClicked() {&lt;BR /&gt;graphicsOverlay.clearSelection();&lt;BR /&gt;sketchEditor.start(SketchCreationMode.RECTANGLE);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 26 Oct 2022 09:13:05 GMT</pubDate>
    <dc:creator>rod182211</dc:creator>
    <dc:date>2022-10-26T09:13:05Z</dc:date>
    <item>
      <title>Javafx SketchEditor TouchScreen Issue</title>
      <link>https://community.esri.com/t5/developers-questions/javafx-sketcheditor-touchscreen-issue/m-p/1225564#M6389</link>
      <description>&lt;P&gt;Hi I am hoping this is a newbie issue however I am having issues with SketchEditor working on my touch screen. Using the mouse works fine as per the attached video. I can see when I call the method (example at bottom) via touch the editor is started however the MapView does not recognize the interaction. All other aspects within the application work fine via touch ie the Mil Symbols etc. What newbie mistake am I making.&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6314379509112w400h250r420" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6314379509112" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6314379509112w400h250r420');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6314379509112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;/**&lt;BR /&gt;* Clear selection of any graphic in the graphics overlay and start a new&lt;BR /&gt;* rectangle sketch.&lt;BR /&gt;*/&lt;BR /&gt;@FXML&lt;BR /&gt;private void handleRectangleButtonClicked() {&lt;BR /&gt;graphicsOverlay.clearSelection();&lt;BR /&gt;sketchEditor.start(SketchCreationMode.RECTANGLE);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2022 09:13:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/javafx-sketcheditor-touchscreen-issue/m-p/1225564#M6389</guid>
      <dc:creator>rod182211</dc:creator>
      <dc:date>2022-10-26T09:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Javafx SketchEditor TouchScreen Issue</title>
      <link>https://community.esri.com/t5/developers-questions/javafx-sketcheditor-touchscreen-issue/m-p/1229436#M6398</link>
      <description>&lt;P&gt;Other things I have tried with no success.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Removing the FXML action event and adding an OnAction to the button&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;pointButton.setOnAction(new EventHandler&amp;lt;ActionEvent&amp;gt;() {&lt;BR /&gt;@Override&lt;BR /&gt;public void handle(ActionEvent event) {&lt;BR /&gt;graphicsOverlay.clearSelection();&lt;BR /&gt;sketchEditor.stop(); //even added a stop to see if helps&amp;nbsp;&lt;BR /&gt;sketchEditor.start(SketchCreationMode.POINT);&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;});&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;add the following in case it was a Javafx thread issue:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;pointButton.setOnAction(new EventHandler&amp;lt;ActionEvent&amp;gt;() {&lt;BR /&gt;@Override&lt;BR /&gt;public void handle(ActionEvent event) {&lt;BR /&gt;&amp;nbsp;Platform.runLater(() -&amp;gt; {&lt;/P&gt;&lt;P&gt;graphicsOverlay.clearSelection();&lt;/P&gt;&lt;P&gt;sketchEditor.stop(); //even added a stop to see if helps&amp;nbsp;&lt;BR /&gt;sketchEditor.start(SketchCreationMode.POINT);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;}&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The map becomes unresponsive.&amp;nbsp; Any ideas or help as to how to resolve or even try welcome&lt;/P&gt;&lt;P&gt;In all cases using the mouse continued to work but not when using touch on my touch screen.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 07:33:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/javafx-sketcheditor-touchscreen-issue/m-p/1229436#M6398</guid>
      <dc:creator>rod182211</dc:creator>
      <dc:date>2022-11-08T07:33:37Z</dc:date>
    </item>
  </channel>
</rss>

