<?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: Highlight and show infoTemplate at the same time how please? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426396#M39208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes Jon. Will do more research. So just to confirm, it is possible for the api to show the popup and highlight without clicking on the map itself? Without clicking on the featurelayer is the key to what I am trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I talked to a developer and he said arcmap api doesn't have this capability and I need to switch to google map api. I hope this is not true. I don't want to change. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 May 2014 21:17:37 GMT</pubDate>
    <dc:creator>ryannz</dc:creator>
    <dc:date>2014-05-14T21:17:37Z</dc:date>
    <item>
      <title>Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426388#M39200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello everyone, I am new to this ArcGIS api, so please be patient. I am trying to create a search functionality with the popup. Something similar to this post:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/95347-InfoTemplate"&gt;http://forums.arcgis.com/threads/95347-InfoTemplate&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded this but the code doesn't work. Not sure why. So here is what I want to achieve. I have set up the map and add featurelayer to the map. I have a search textbox and when I searched, the line is highlighted however, the infotemplate doesn't show up until I clicked on the line. How can I highlight the line and show the infoTemplate popup at the same time when I click on search button (without clicking on the map)? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have links that I could refer to, please share with me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 01:31:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426388#M39200</guid>
      <dc:creator>ryannz</dc:creator>
      <dc:date>2014-05-14T01:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426389#M39201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ryan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://jsfiddle.net/timw1984/WdLzj/"&gt;This &lt;/A&gt;&lt;SPAN&gt;might be helpful? Instead of my button you would use your search button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 11:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426389#M39201</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-05-14T11:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426390#M39202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Tim for the reply. I can see the example is very closed to what I am trying to do. But I noticed that the points in the example is plotted by using the exact coordinates &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;nbsp; var attr2 = {"Xcoord":singlePoint2.x,"Ycoord":singlePoint2.y}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You mentioned about using the search button, what should be in the search textbox? Coordinates? Could I pass the ID instead?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I reckon if I could the pass the ID from the search and I also could pass it from my gridview. In my case, I have many lines and the line datakey ID is listed in a gridview. When a user click on a select button in a line of a gridview, I would love to pass the ID and display the popup. The problem is how I can take that ID and display the popup in the right coordinates?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 11:52:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426390#M39202</guid>
      <dc:creator>ryannz</dc:creator>
      <dc:date>2014-05-14T11:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426391#M39203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh I see, &lt;/SPAN&gt;&lt;A href="http://jsfiddle.net/timw1984/M5pdA/"&gt;is this&lt;/A&gt;&lt;SPAN&gt; what you are trying to do, with the addition of, once a user clicks on the grid you would like to zoom to it and the popup to appear?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 12:38:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426391#M39203</guid>
      <dc:creator>TimWitt</dc:creator>
      <dc:date>2014-05-14T12:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426392#M39204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Tim again. Sorry to be pain. The example is very very similar to what I want. But there is no popup? How would you show a popup when you click in the gridview?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:18:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426392#M39204</guid>
      <dc:creator>ryannz</dc:creator>
      <dc:date>2014-05-14T20:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426393#M39205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Ryan.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This might be what you are looking for:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/jshelp/intro_infowindow.html"&gt;https://developers.arcgis.com/javascript/jshelp/intro_infowindow.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I strongly recommend checking out the 'Concepts' section of our documentation if you haven't already.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Reading the docs could potentially save you dozens of hours in the long run.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 20:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426393#M39205</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-05-14T20:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426394#M39206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you Jon. Yes that's the popup I need. I have read that document actually and the problem is I need to interact with the map for the popup to appear based on that article. My case is different. The user clicked on a button in the gridview and I would love the popup to appear in the correct coordinate and at the same time the selected featurelayer highlighted. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no interaction with the map as far as I can see. Just like the example from Tim, the highlight is working but no popup. I wonder if it is possible to have highlight and popup at the same time without clicking on the map itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you done anything similar before?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 21:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426394#M39206</guid>
      <dc:creator>ryannz</dc:creator>
      <dc:date>2014-05-14T21:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426395#M39207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have&amp;nbsp; read that document actually and the problem is I need to interact with&amp;nbsp; the map for the popup to appear based on that article.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's alot more to read! Have you tried creating a point object and setting the infoWindow location?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var point = new Point(x, y, map.spatialReference);
map.infoWindow.show(point);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I wonder if it is possible to have highlight and popup at the same time without clicking on the map itself.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; There are samples that show both behaviors separately.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You, as the developer, would need to combine them to produce your desired functionality.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:11:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426395#M39207</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2021-12-11T19:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426396#M39208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes Jon. Will do more research. So just to confirm, it is possible for the api to show the popup and highlight without clicking on the map itself? Without clicking on the featurelayer is the key to what I am trying to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I talked to a developer and he said arcmap api doesn't have this capability and I need to switch to google map api. I hope this is not true. I don't want to change. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 21:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426396#M39208</guid>
      <dc:creator>ryannz</dc:creator>
      <dc:date>2014-05-14T21:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426397#M39209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp; So just to confirm, it is possible for the api to show the popup and highlight without clicking on the map itself? Without clicking on the featurelayer is the key to what I am trying to do.&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Absolutely. It would all be done programmatically. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As long as you have the feature data and required geometry, you wouldn't even need a click event handler &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hypothetical Use Case:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) You click on a row in your grid (that row represents a single feature)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Using IDs, highlight the feature using selectFeatures()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Display a custom popup with data about that feature, anywhere you want (perhaps you would show it at the feature's center if its a polygon)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;I talked to a developer and he said arcmap api doesn't have this capability and I need to switch to google map api.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you don't mind, could you email me the name of the person you talked to? ( &lt;/SPAN&gt;&lt;A href="mailto:&amp;quot;juihlein@esri.com&amp;quot;" rel="nofollow"&gt;juihlein@esri.com&lt;/A&gt;&lt;SPAN&gt; ) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Being a fellow developer, I want to make sure we are on the same page &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 21:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426397#M39209</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-05-14T21:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426398#M39210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your hypothetical use case is exactly what I am trying to do. Lol. He would be pissed off. Haha. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will come back and mark this as answer when I found a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 21:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426398#M39210</guid>
      <dc:creator>ryannz</dc:creator>
      <dc:date>2014-05-14T21:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: Highlight and show infoTemplate at the same time how please?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426399#M39211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Your hypothetical use case is exactly what I am trying to do. Lol. He would be pissed off. Haha. &lt;BR /&gt;&lt;BR /&gt;Will come back and mark this as answer when I found a solution.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No problem and no worries! That developer probably doesn't work directly on the API &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are still having trouble with your application after a few days, make a detailed post with as much information as you can and I will do my best to help, time permitting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best wishes!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 22:02:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/highlight-and-show-infotemplate-at-the-same-time/m-p/426399#M39211</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2014-05-14T22:02:49Z</dc:date>
    </item>
  </channel>
</rss>

