<?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 MapImageLayer Sublayer-mouse over function in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapimagelayer-sublayer-mouse-over-function/m-p/464574#M42950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to make the mouseover function to MapImageLayer by converting the Sublayer into FeatureLayer.&lt;/P&gt;&lt;P&gt;I understand that sublayer of the MapImageLayer can be converted into FeatureLayer by using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var sub = layer.findSublayerByID(0);&lt;/P&gt;&lt;P&gt;sub.createFeatureLayer();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, from the API that FeatureLayer can utilize the hitTest() function:&lt;/P&gt;&lt;P&gt;view.hitTest(event).then(function (response){&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to have the sublayer to equipt with hitTest()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2019 16:56:56 GMT</pubDate>
    <dc:creator>JiYeam1</dc:creator>
    <dc:date>2019-05-22T16:56:56Z</dc:date>
    <item>
      <title>MapImageLayer Sublayer-mouse over function</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapimagelayer-sublayer-mouse-over-function/m-p/464574#M42950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to make the mouseover function to MapImageLayer by converting the Sublayer into FeatureLayer.&lt;/P&gt;&lt;P&gt;I understand that sublayer of the MapImageLayer can be converted into FeatureLayer by using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var sub = layer.findSublayerByID(0);&lt;/P&gt;&lt;P&gt;sub.createFeatureLayer();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, from the API that FeatureLayer can utilize the hitTest() function:&lt;/P&gt;&lt;P&gt;view.hitTest(event).then(function (response){&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would it be possible to have the sublayer to equipt with hitTest()?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2019 16:56:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mapimagelayer-sublayer-mouse-over-function/m-p/464574#M42950</guid>
      <dc:creator>JiYeam1</dc:creator>
      <dc:date>2019-05-22T16:56:56Z</dc:date>
    </item>
  </channel>
</rss>

