<?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: Are MapTips Supported in GraphicsLayer and are they working in FXMap in the beta? in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/are-maptips-supported-in-graphicslayer-and-are/m-p/752903#M2241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used your code above with point graphics in a graphicslayer and I can get it to work. However, it looks like you are trying to get it to work with graphic TextSymbols. This isn't supposed to work, I don't believe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the Beta of JavaFX, you are right. At Quartz we will fully support JavaFX and this workflow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2015 22:13:36 GMT</pubDate>
    <dc:creator>EricBader</dc:creator>
    <dc:date>2015-11-02T22:13:36Z</dc:date>
    <item>
      <title>Are MapTips Supported in GraphicsLayer and are they working in FXMap in the beta?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/are-maptips-supported-in-graphicslayer-and-are/m-p/752902#M2240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We're working with a GraphicsLayer.&amp;nbsp; After adding attributes to a graphic and creating a corresponding LinkedHashMap, no worky, see code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//add a symbol and attributes, create the graphic&lt;/P&gt;&lt;P&gt;GraphicsLayer graphicsLayer = new GraphicsLayer();&lt;/P&gt;&lt;P&gt;TextSymbol textSymbol = new TextSymbol(10, "The symbol's contructor text!", Color.BLUE);&lt;/P&gt;&lt;P&gt;Map&amp;lt;String, Object&amp;gt; attributes = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/P&gt;&lt;P&gt;attributes.put("UserId", "UserId");&amp;nbsp; //and other fields&lt;/P&gt;&lt;P&gt;Graphic graphic = new Graphic(point, textSymbol, attributes);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//after layer is initialized, from layerInitializeComplete on graphicslayer, add MapTips, tried this 6 Ways From Sun'dy, no worky:&lt;/P&gt;&lt;P&gt;LinkedHashMap&amp;lt;String, String&amp;gt; displayFields = new LinkedHashMap&amp;lt;String, String&amp;gt;();&lt;/P&gt;&lt;P&gt;displayFields.put("UserId", "UserId");&amp;nbsp; //and other fields if needed&lt;/P&gt;&lt;P&gt;MapTip mapTip = new MapTip(displayFields);&lt;/P&gt;&lt;P&gt;mapTip.setEnabled(true);&lt;/P&gt;&lt;P&gt;graphicsLayer.setMapTip(mapTip);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I figure this is not supported on GraphicsLayer, correct me if I'm wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, if this is supported on GraphicsLayer, how is it added in FXMap?&lt;/P&gt;&lt;P&gt;final InfoPopupOverlay infoPopupOverlay = new InfoPopupOverlay();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoPopupOverlay.setPopupTitle("Building Data");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoPopupOverlay.setItemTitle("Extent of damage: {typdamage}");&lt;/P&gt;&lt;P&gt;map.??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same answer?&amp;nbsp; Not supported in GraphicsLayer or FXMap viewer, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Other Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 12:18:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/are-maptips-supported-in-graphicslayer-and-are/m-p/752902#M2240</guid>
      <dc:creator>EricHolsinger</dc:creator>
      <dc:date>2015-10-27T12:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Are MapTips Supported in GraphicsLayer and are they working in FXMap in the beta?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/are-maptips-supported-in-graphicslayer-and-are/m-p/752903#M2241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've used your code above with point graphics in a graphicslayer and I can get it to work. However, it looks like you are trying to get it to work with graphic TextSymbols. This isn't supposed to work, I don't believe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the Beta of JavaFX, you are right. At Quartz we will fully support JavaFX and this workflow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 22:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/are-maptips-supported-in-graphicslayer-and-are/m-p/752903#M2241</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2015-11-02T22:13:36Z</dc:date>
    </item>
  </channel>
</rss>

