<?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: Valid map extent in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234514#M6031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Demin is right. Here's an SDK sample that does that: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project&lt;/A&gt;&lt;SPAN&gt;. How are you getting your zoom extent? Do you union the selected lat/lon values? If the resulting extent is a different spatial reference from your map, you can use GeometryService.ProjectAsync() or WebMercator as in this SDK sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2012 16:26:20 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2012-04-23T16:26:20Z</dc:date>
    <item>
      <title>Valid map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234512#M6029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to have my clients see the extent of a graphics layer added dynamically. What I do is set map.Extent = myGraphicsLayer.FullExtent. That works fine; but there is a caveat. The client normally is given a set of data columns to choose from the geographic coordinates that are all double digit data types. Among those columns will be the Latitude and Longitude. Normally it is pretty obvious what the lat and long columns are; but they may choose something else. If they do choose something else then there may/may not be points displayed. That is fine. Now, when the line to to set the map in the extent of the graphics layer executes, then the map completely freezes. I looked into it and it seems that the extent is not right; it may be coming up with numbers that are completely off. So, my question is, how can I know when I have a valid extent after adding my data to the graphics layer? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that the first question that I may get back is "why are we offering our clients all those columns in the first place?" And the reason is very simple, the names are not fixed, we read the columns from different databases, and our application requires that we let the client select the columns; we do narrow them to double digits data type only though. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Apr 2012 15:14:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234512#M6029</guid>
      <dc:creator>LuisGarcia2</dc:creator>
      <dc:date>2012-04-20T15:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Valid map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234513#M6030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think if the client select a differnt&amp;nbsp; coordinate system other than your map, probably you should use GeometryService to project , then add the projected&amp;nbsp; env on the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 13:00:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234513#M6030</guid>
      <dc:creator>DeminHu</dc:creator>
      <dc:date>2012-04-23T13:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Valid map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234514#M6031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Demin is right. Here's an SDK sample that does that: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Project&lt;/A&gt;&lt;SPAN&gt;. How are you getting your zoom extent? Do you union the selected lat/lon values? If the resulting extent is a different spatial reference from your map, you can use GeometryService.ProjectAsync() or WebMercator as in this SDK sample: &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2012 16:26:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234514#M6031</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2012-04-23T16:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Valid map extent</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234515#M6032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your replies. I am using WebMercator right now. I will take a look at the first example Jennifer mentions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 14:10:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/valid-map-extent/m-p/234515#M6032</guid>
      <dc:creator>LuisGarcia2</dc:creator>
      <dc:date>2012-04-25T14:10:49Z</dc:date>
    </item>
  </channel>
</rss>

