<?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 I need help to make an scaleZoom based application in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/i-need-help-to-make-an-scalezoom-based-application/m-p/493786#M12667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, where i work we have this application (on the screenshot):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;IMG src="http://lh3.ggpht.com/_IVOTBdNt-aY/TGvJEAXbhaI/AAAAAAAAADg/moOmtGuE2Qc/s720/scaleZoom.JPG" /&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The marked area is a zoom by scale function, where you type the scale and it zooms in till the map reaches the desired scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this application(.NET 4.0) doesn't use Silverlight, and what I need is to make an scale based zoom to our new applications, silverlight based.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does anyone have any idea of how to make it??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Aug 2010 11:18:35 GMT</pubDate>
    <dc:creator>jonataspovoas</dc:creator>
    <dc:date>2010-08-18T11:18:35Z</dc:date>
    <item>
      <title>I need help to make an scaleZoom based application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/i-need-help-to-make-an-scalezoom-based-application/m-p/493786#M12667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, where i work we have this application (on the screenshot):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A href="&amp;lt;/span&amp;gt;&amp;lt;a" target="_blank"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;IMG src="http://lh3.ggpht.com/_IVOTBdNt-aY/TGvJEAXbhaI/AAAAAAAAADg/moOmtGuE2Qc/s720/scaleZoom.JPG" /&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The marked area is a zoom by scale function, where you type the scale and it zooms in till the map reaches the desired scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this application(.NET 4.0) doesn't use Silverlight, and what I need is to make an scale based zoom to our new applications, silverlight based.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;does anyone have any idea of how to make it??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 11:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/i-need-help-to-make-an-scalezoom-based-application/m-p/493786#M12667</guid>
      <dc:creator>jonataspovoas</dc:creator>
      <dc:date>2010-08-18T11:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: I need help to make an scaleZoom based application</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/i-need-help-to-make-an-scalezoom-based-application/m-p/493787#M12668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The Silverlight map uses resolution in stead of scale, since scale is a very misleading value on a computer screen (because you basically don't know the dimension of your screen).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So to zoom to a scale this use the Map.ZoomToResolution(mapUnitsPerPixel) method instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where mapUnitsPerPixels is how many meters/feets/degrees (based on what projection you use) one pixel covers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;To convert this value from a scale, you will need to know how big a pixel is on your screen. As mentioned above this is where it gets misleading, because most screens are different (when you connect a projector you even have two scales, one on your laptop and another one on your projector). An often used assumption is 96dpi (pixels per inch), so with a little math, you can calculate the resolution based on a specific scale (ie. 1:25000 means 1inch on screen = 25000 inches on the map, so at 96 dpi, 1 pixel is 25000/96, and lastly you should convert the inches to whatever unit your map projection is using) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also see the scale discussion here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Map.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 15:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/i-need-help-to-make-an-scalezoom-based-application/m-p/493787#M12668</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-08-19T15:27:59Z</dc:date>
    </item>
  </channel>
</rss>

