<?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: How to set mouse transparency for FeatureLayer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-mouse-transparency-for-featurelayer/m-p/483123#M44987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this is supported by the JS API. You can however get what you want by setting the CSS property &lt;CODE&gt;pointer-events: none&lt;/CODE&gt; on the layers that cover the layer(s) on which you want the mouse-over event to do something. See demo here &lt;A href="http://jsfiddle.net/Heiko/8hd54qrg/" title="http://jsfiddle.net/Heiko/8hd54qrg/"&gt;Pointer events on layer - JSFiddle&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2014 21:45:33 GMT</pubDate>
    <dc:creator>HeikoHeijenga</dc:creator>
    <dc:date>2014-12-05T21:45:33Z</dc:date>
    <item>
      <title>How to set mouse transparency for FeatureLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-mouse-transparency-for-featurelayer/m-p/483121#M44985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;In my javascript project with arcgis map i'm shows several layers, that processes events &lt;CODE style="padding: 1px 5px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background: #eeeeee;"&gt;mouse-over&lt;/CODE&gt;and &lt;CODE style="padding: 1px 5px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background: #eeeeee;"&gt;mouse-out&lt;/CODE&gt;.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Where new layer adds, it's cover other layers and intercepts mouse events, although it is not subscribed to they and hasn't event handlers.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Visual covering i decided by new layer opacity. But i don't know how set transparency for mouse events to new layer.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;I need to disable mouse events intercepting for new layer, and that other layers can process they.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Calling method &lt;CODE style="padding: 1px 5px; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; background: #eeeeee;"&gt;newLayer.disableMouseEvents&lt;/CODE&gt; don't help.&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: Arial, 'Liberation Sans', 'DejaVu Sans', sans-serif; background: #ffffff;"&gt;Is perhaps to set mouse transparency for FeatureLayer or other layer types? Only thought is throwing mouse events from new layer to other layers in some way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 11:14:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-mouse-transparency-for-featurelayer/m-p/483121#M44985</guid>
      <dc:creator>GeneralFailure</dc:creator>
      <dc:date>2014-12-05T11:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to set mouse transparency for FeatureLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-mouse-transparency-for-featurelayer/m-p/483122#M44986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post your code showing how you are adding the mouse-over and mouse-out events to the initial layers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 14:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-mouse-transparency-for-featurelayer/m-p/483122#M44986</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-12-05T14:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set mouse transparency for FeatureLayer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-mouse-transparency-for-featurelayer/m-p/483123#M44987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this is supported by the JS API. You can however get what you want by setting the CSS property &lt;CODE&gt;pointer-events: none&lt;/CODE&gt; on the layers that cover the layer(s) on which you want the mouse-over event to do something. See demo here &lt;A href="http://jsfiddle.net/Heiko/8hd54qrg/" title="http://jsfiddle.net/Heiko/8hd54qrg/"&gt;Pointer events on layer - JSFiddle&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 21:45:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-mouse-transparency-for-featurelayer/m-p/483123#M44987</guid>
      <dc:creator>HeikoHeijenga</dc:creator>
      <dc:date>2014-12-05T21:45:33Z</dc:date>
    </item>
  </channel>
</rss>

