<?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 Graphics Layer, prevent zoom in on double click in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-layer-prevent-zoom-in-on-double-click/m-p/410182#M37764</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am using the draw and edit toolbars, when I am in edit mode I disable double click zoom on the map map.disableDoubleClickZoom();&lt;/P&gt;&lt;P&gt;I confirmed that while in edit mode, dbl clicking the map does not zoom (Great)&lt;/P&gt;&lt;P&gt;In order to get out of edit mode, the user must dbl click the graphic, at this time, the map zooms.&amp;nbsp; The event object is not passed to the dbl click event of the graphics layer, so I can't prevent bubble up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here, I do not want the map to zoom in when the user double clicks the graphic to end my edit session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Sep 2014 12:31:12 GMT</pubDate>
    <dc:creator>HaroldBostic</dc:creator>
    <dc:date>2014-09-06T12:31:12Z</dc:date>
    <item>
      <title>Graphics Layer, prevent zoom in on double click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-layer-prevent-zoom-in-on-double-click/m-p/410182#M37764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am using the draw and edit toolbars, when I am in edit mode I disable double click zoom on the map map.disableDoubleClickZoom();&lt;/P&gt;&lt;P&gt;I confirmed that while in edit mode, dbl clicking the map does not zoom (Great)&lt;/P&gt;&lt;P&gt;In order to get out of edit mode, the user must dbl click the graphic, at this time, the map zooms.&amp;nbsp; The event object is not passed to the dbl click event of the graphics layer, so I can't prevent bubble up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something here, I do not want the map to zoom in when the user double clicks the graphic to end my edit session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2014 12:31:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-layer-prevent-zoom-in-on-double-click/m-p/410182#M37764</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2014-09-06T12:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Graphics Layer, prevent zoom in on double click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-layer-prevent-zoom-in-on-double-click/m-p/410183#M37765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the graphi-click event on the edit toolbar as a workaround to end editing and avoid zooming, but I think the double click on a graphic layer with both map.disableMapNavigation(); and map.disableDoubleClickZoom(); set should not zoom in&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2014 12:44:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-layer-prevent-zoom-in-on-double-click/m-p/410183#M37765</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2014-09-06T12:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Graphics Layer, prevent zoom in on double click</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-layer-prevent-zoom-in-on-double-click/m-p/410184#M37766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harold,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you turn double click zoom back on, after you double click ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or do you turn on your double click zoom via the following?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/draw-amd.html#event-draw-end" title="https://developers.arcgis.com/javascript/jsapi/draw-amd.html#event-draw-end"&gt;draw-amd | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you can paste some of your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 12:18:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/graphics-layer-prevent-zoom-in-on-double-click/m-p/410184#M37766</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2014-09-08T12:18:40Z</dc:date>
    </item>
  </channel>
</rss>

