<?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 do maptips in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502438#M12886</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the spatialreference of your map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As you are giving a query envelope in geographical coordinates, your code can only work with a geographical map spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the query is completed, how many features are returned?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 08:10:21 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2011-03-08T08:10:21Z</dc:date>
    <item>
      <title>How to do maptips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502437#M12885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am assuming the maptip sample shown at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerMapTips" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerMapTips&lt;/A&gt;&lt;SPAN&gt; will only work with a featurelayer which requires a featureservice. Is that correct? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if my map uses a ArcGISDynamicMapServiceLayer I then need to follow the sample shown at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#GraphicsMapTip" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#GraphicsMapTip&lt;/A&gt;&lt;SPAN&gt; . Correct?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have copied the latter into my project dropping the second layer (Cities) and chenged the name of the States layer and code to MapTipGraphicsLayer. I believe I have changed all the pertinate references but I don't get any action when the mouse hovers over a feature. (No triggering of MapTipGraphicsLayerQueryTask_ExecuteCompleted.) The one line I do not understand is &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;ESRI.ArcGIS.Client.Tasks.Query query = new ESRI.ArcGIS.Client.Tasks.Query()
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; Geometry = new ESRI.ArcGIS.Client.Geometry.Envelope(-180, 0, 0, 90),
&amp;nbsp;&amp;nbsp;&amp;nbsp; OutSpatialReference = MyMap.SpatialReference
&amp;nbsp;&amp;nbsp; };&lt;/PRE&gt;&lt;SPAN&gt; Perhaps this needs to be changed somehow to fit my map? Or maybe someone can suggest what else I should look for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:03:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502437#M12885</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2021-12-11T22:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to do maptips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502438#M12886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the spatialreference of your map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As you are giving a query envelope in geographical coordinates, your code can only work with a geographical map spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the query is completed, how many features are returned?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 08:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502438#M12886</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-08T08:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to do maptips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502439#M12887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don, see my post in the other Maptip thread. MapTips won't work on ArcGisDynamicMapServiceLayer. You need to use a FeatureLayer in some capacity. Or, if you really don't want to use a FeatureService, you have a couple of options: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) try using a modified Toolkit MapTip widget to display the results of an identifytask. If you're interested in that route I can share some code with you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) create an empty graphicslayer and copy graphics into it from the results of an identify task&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 11:31:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502439#M12887</guid>
      <dc:creator>DanielWalton</dc:creator>
      <dc:date>2011-03-08T11:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to do maptips</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502440#M12888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all interested parties, it is not a matter of wanting to use a FeatureService, it is the limitations imposed by such:&amp;nbsp; all data in the mxd supporting a FeatureService must be in SDE, which means that any other data such as shapefiles and geodatabases which may be products of other business lines, must be served as additional map services, which then makes layer draw order a problem as those from one service will always be rendered on top of others in another mapservice.&amp;nbsp; This further complicates the issue because tools such as identify and query, and especially print, need to be programmed to work upon multiple map services, a time consuming task, depending on the robustness of the implementation.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The example Don linked to at the top of this thread (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#GraphicsMapTip"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#GraphicsMapTip&lt;/A&gt;&lt;SPAN&gt;) does not seem to require a featureservice (please correct me if I am mistaken) but shows how to pretty much hardcode in maptipped layers for a dynamic map service using a query task and code that runs when the map is loaded.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this presents another option that does not require the user to use an identify tool (click event).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following this, has anyone written a configurable maptips originator (prevent hardcoding to rest service urls) they might share?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-J&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 14:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-do-maptips/m-p/502440#M12888</guid>
      <dc:creator>JTessier</dc:creator>
      <dc:date>2011-09-27T14:55:31Z</dc:date>
    </item>
  </channel>
</rss>

