<?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: Some simple things are very difficult...why? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/some-simple-things-are-very-difficult-why/m-p/121295#M3013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to convert LatLon values to MapPoint. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MapPoint center = new MapPoint(Lon, Lat, MyMap.SpatialReference);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then use this as center when calling ZoomToResolution so you can center around this point. &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map~ZoomToResolution%28Double,MapPoint%29.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map~ZoomToResolution%28Double,MapPoint%29.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2011 19:12:42 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2011-06-17T19:12:42Z</dc:date>
    <item>
      <title>Some simple things are very difficult...why?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/some-simple-things-are-very-difficult-why/m-p/121294#M3012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've been working with ESRI maps with Silverlight for a little while, and I've been banging my head against the wall on some VERY simple actions that should be much more intuitive. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll list my questions, and perhaps I'm just making things more difficult than they should be. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Center map on a specific lat/long&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Zoom to a specific zoom resolution&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Bing Maps Silverlight user control there are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MyMap.Center = new Location(lat, long);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MyMap.Zoom = 5;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My other question is why are extents, spacial references and other weird ideas SO restrictive? What ever happened to just a map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;May come across as snide, but I think I'm just not seeing the forest for the trees here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any replies!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2011 18:50:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/some-simple-things-are-very-difficult-why/m-p/121294#M3012</guid>
      <dc:creator>KevinKing</dc:creator>
      <dc:date>2011-06-16T18:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Some simple things are very difficult...why?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/some-simple-things-are-very-difficult-why/m-p/121295#M3013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to convert LatLon values to MapPoint. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MapPoint center = new MapPoint(Lon, Lat, MyMap.SpatialReference);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can then use this as center when calling ZoomToResolution so you can center around this point. &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map~ZoomToResolution%28Double,MapPoint%29.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map~ZoomToResolution%28Double,MapPoint%29.html&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 19:12:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/some-simple-things-are-very-difficult-why/m-p/121295#M3013</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2011-06-17T19:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Some simple things are very difficult...why?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/some-simple-things-are-very-difficult-why/m-p/121296#M3014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for the reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying this now, but I keep getting thrown to the center of the map (off the coast of Africa). Sometimes, it doesn't even send me there, but off the coast of South America.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any gotchas around this? I know I've read lots of "off the coast of Africa" talk (0,0 i assume).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 12:22:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/some-simple-things-are-very-difficult-why/m-p/121296#M3014</guid>
      <dc:creator>KevinKing</dc:creator>
      <dc:date>2011-06-22T12:22:12Z</dc:date>
    </item>
  </channel>
</rss>

