<?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: Map Rotation  - Info window problem in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301178#M7748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think InfoWindow is open but is not visible until you pan the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try the SDK sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple&lt;/A&gt;&lt;SPAN&gt;. Pan the map to where the feature is not fully visible and click on it, InfoWindow is open but is not within view until you pan the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2011 16:51:43 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-10-19T16:51:43Z</dc:date>
    <item>
      <title>Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301175#M7745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our application we have the Map control rotated to a value of -38 and have info window (&lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple&lt;/A&gt;&lt;SPAN&gt;) shown on the map on FeatureLayer_MouseEnter event.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.Rotation = -38;// map is rotated in the constructor&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LayoutRoot.Children.Add(MyInfoWindow); // info window is added in the feature layer (DefaultMarkerSymbol) mouse enter event&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;till this point there are no issues and all works well and info window shows with all formatting correct with right details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;But recently during testing we have found that the info window does not show/display if the Featurelayer Symbol (mouse enter of this symbol is supposed to show the info window) is at top left or bottom right corner of the map.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I remove the rotation code then the info window shows properly at all the corners of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI Silverlight API 2.2&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MS Silverlight 4&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.net 4.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ArcGIS Server 10.0 sp2&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Oct 2011 09:14:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301175#M7745</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2011-10-16T09:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301176#M7746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you were using mouse event on the FeatureLayer, you had direct access to the graphic in the GraphicMouseButtonEventArgs. If you moved your mouse event to the symbol control template, you need to use screen point and FindGraphicsInHostCoordinates&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
FeatureLayer featureLayer = MyMap.Layers["MyFeatureLayer"] as FeatureLayer;

System.Windows.Point screenPnt = e.GetPosition(MyMap);

// Account for difference between Map and application origin
GeneralTransform generalTransform = MyMap.TransformToVisual(Application.Current.RootVisual);
System.Windows.Point transformScreenPnt = generalTransform.Transform(screenPnt);

IEnumerable&amp;lt;Graphic&amp;gt; selected =
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer.FindGraphicsInHostCoordinates(transformScreenPnt);

foreach (Graphic g in selected)
{
 //this must be your graphic of interest
}
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:18:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301176#M7746</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-12T16:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301177#M7747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; When you were using mouse event on the FeatureLayer, you had direct access to the graphic in the GraphicMouseButtonEventArgs. If you moved your mouse event to the symbol control template, you need to use screen point and FindGraphicsInHostCoordinates&amp;nbsp; &lt;BR /&gt; &lt;BR /&gt; &lt;PRE class="lia-code-sample line-numbers language-none"&gt;
FeatureLayer featureLayer = MyMap.Layers["MyFeatureLayer"] as FeatureLayer;

System.Windows.Point screenPnt = &lt;SPAN style="color:&amp;quot;Red&amp;quot;;"&gt;e.GetPosition(MyMap);&lt;/SPAN&gt;

// Account for difference between Map and application origin
GeneralTransform generalTransform = MyMap.TransformToVisual(Application.Current.RootVisual);
System.Windows.Point transformScreenPnt = generalTransform.Transform(screenPnt);

IEnumerable&amp;lt;Graphic&amp;gt; selected =
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayer.&lt;SPAN style="color:&amp;quot;Red&amp;quot;;"&gt;FindGraphicsInHostCoordinates&lt;/SPAN&gt;(transformScreenPnt);

foreach (Graphic g in selected)
{
 //this must be your graphic of interest
}
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Jennifer, the code and guidelines given by you, I tried them too but still I have the same behavior from the map that I dont see the info window only if the graphic is on the top left corner or bottom right corner of the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If at the same moment I pan the map to center the info window shows but if I pan the map back to the earlier location where the graphic comes to corner of the map, the info window disappears again. it is due to the map rotation only.. please let me know your views...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 14:27:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301177#M7747</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2021-12-11T14:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301178#M7748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think InfoWindow is open but is not visible until you pan the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try the SDK sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple&lt;/A&gt;&lt;SPAN&gt;. Pan the map to where the feature is not fully visible and click on it, InfoWindow is open but is not within view until you pan the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 16:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301178#M7748</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-10-19T16:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301179#M7749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think InfoWindow is open but is not visible until you pan the map. &lt;BR /&gt;&lt;BR /&gt;Try the SDK sample: &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#InfoWindowSimple&lt;/A&gt;. Pan the map to where the feature is not fully visible and click on it, InfoWindow is open but is not within view until you pan the map.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had tried all the possible ways and also the infowindowsimple sample which does not help. I pan the map and a already open infowindow disappears near, atleast half a inch away from the top left and (atleast half a inch away from map edge) bottom right corners of the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 08:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301179#M7749</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2011-12-07T08:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301180#M7750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We'll try to get it fixed in a future version.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reproting that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 09:08:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301180#M7750</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-12-07T09:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301181#M7751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That's a bug.&lt;BR /&gt; &lt;BR /&gt;We'll try to get it fixed in a future version.&lt;BR /&gt; &lt;BR /&gt;Thanks for reproting that.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Dominique &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 10:12:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301181#M7751</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2011-12-07T10:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301182#M7752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That's a bug.&lt;BR /&gt; &lt;BR /&gt;We'll try to get it fixed in a future version.&lt;BR /&gt; &lt;BR /&gt;Thanks for reproting that.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have recently checked this bug still present in &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;(map rotated to double -38 and infowindow unable to display on top left and bottom right corners of the map)&lt;/SPAN&gt;&lt;SPAN&gt; the ArcGIS API for Silverlight v3.0 , it is still not fixed. Map rotation is highly required in various cases and Infowindow issue should be fixed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 08:21:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301182#M7752</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2012-05-09T08:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301183#M7753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have recently checked this bug still present in &lt;SPAN style="font-style:italic;"&gt;(map rotated to double -38 and infowindow unable to display on top left and bottom right corners of the map)&lt;/SPAN&gt; the ArcGIS API for Silverlight v3.0 , it is still not fixed. Map rotation is highly required in various cases and Infowindow issue should be fixed. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;That will be fixed in the 3.0 release.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 09:33:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301183#M7753</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2012-05-09T09:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Map Rotation  - Info window problem</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301184#M7754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;That will be fixed in the 3.0 release.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again Dominique , waiting for the final release now :rolleyes:.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 04:14:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-rotation-nbsp-info-window-problem/m-p/301184#M7754</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2012-05-10T04:14:23Z</dc:date>
    </item>
  </channel>
</rss>

