<?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 How to query the Message Processor/Layer (mil2525c)? in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-query-the-message-processor-layer-mil2525c/m-p/139010#M649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use the ArcGIS SDK for Qt to display nautical maps from a WMS Server. On top of the actual map, we have a MessageGroupLayer for mil2525c messages. The messages are rendered just fine, but how do i query them? For example i want to enable the user to click on a message on the map to get more Information about it. How do i do that?&lt;/P&gt;&lt;P&gt;How do i get a message at or near a certain location?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2016 07:10:28 GMT</pubDate>
    <dc:creator>JohannesOhlemacher</dc:creator>
    <dc:date>2016-08-10T07:10:28Z</dc:date>
    <item>
      <title>How to query the Message Processor/Layer (mil2525c)?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-query-the-message-processor-layer-mil2525c/m-p/139010#M649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use the ArcGIS SDK for Qt to display nautical maps from a WMS Server. On top of the actual map, we have a MessageGroupLayer for mil2525c messages. The messages are rendered just fine, but how do i query them? For example i want to enable the user to click on a message on the map to get more Information about it. How do i do that?&lt;/P&gt;&lt;P&gt;How do i get a message at or near a certain location?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 07:10:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-query-the-message-processor-layer-mil2525c/m-p/139010#M649</guid>
      <dc:creator>JohannesOhlemacher</dc:creator>
      <dc:date>2016-08-10T07:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to query the Message Processor/Layer (mil2525c)?</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-query-the-message-processor-layer-mil2525c/m-p/139011#M650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you start sending messages into the MessageGroupLayer, a new GraphicsLayer is created for the different geometry types. The MessageGroupLayer then becomes basically a GroupLayer of GraphicsLayers. What you can do is get the individual layer out of the MessageGroupLayer with GroupLayerBase::getLayers, then static_cast the one you want to GraphicsLayer. Once you have a GraphicsLayer, you can call graphicIds, and pass in your screen coordinates from a mouse click event, and it will return a list of graphic IDs that you clicked near.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 21:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/how-to-query-the-message-processor-layer-mil2525c/m-p/139011#M650</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-08-10T21:47:38Z</dc:date>
    </item>
  </channel>
</rss>

