<?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.ZoomTo using graphic geometries in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-zoomto-using-graphic-geometries/m-p/204209#M938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Issue has been resolved. I didn't realize that geometries provided for ZoomTo() needed an area (height / width) meaning that the X/Y min/max differed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately creating map points with GPScoordinates results in map points with no area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 11:03:55 GMT</pubDate>
    <dc:creator>CliffordPadgett</dc:creator>
    <dc:date>2011-11-11T11:03:55Z</dc:date>
    <item>
      <title>Map.ZoomTo using graphic geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-zoomto-using-graphic-geometries/m-p/204208#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the following maps from the available arcgis servers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;base layer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Shaded_Relief/MapServer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;state boundaries layer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;layer used for city information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can easily be anywhere on the map and call Zoom.To and provide any graphic's extent from the state layer and the map will show as expected. However when attempting to do the same thing with any of the city layer's graphics, the function fails to do anything at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What might the reason for this be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In an attempt to narrow down possibilities, I have tried using Map.PanTo and provide the same geometry information, this function works and behaves as expected. (except it only pans, I would also like to zoom to the minimum resolution, however I have tried map.zoomToResolution while providing map points.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the end what I would like to do is provide functionality for zooming in on a clicked location. I am currently providing the geometry information through an event handler to the map and calling the methods there with the provided args.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any direction would be helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Nov 2011 14:02:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-zoomto-using-graphic-geometries/m-p/204208#M937</guid>
      <dc:creator>CliffordPadgett</dc:creator>
      <dc:date>2011-11-07T14:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Map.ZoomTo using graphic geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-zoomto-using-graphic-geometries/m-p/204209#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Issue has been resolved. I didn't realize that geometries provided for ZoomTo() needed an area (height / width) meaning that the X/Y min/max differed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately creating map points with GPScoordinates results in map points with no area.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 11:03:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-zoomto-using-graphic-geometries/m-p/204209#M938</guid>
      <dc:creator>CliffordPadgett</dc:creator>
      <dc:date>2011-11-11T11:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Map.ZoomTo using graphic geometries</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-zoomto-using-graphic-geometries/m-p/204210#M939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can create a new envelope using the Envelope Constructor(Coordinate,Double,Double)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where coordinate is your point&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;first double is the width&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;second double is the height&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically create a extent for your point. What width and height will be depends on how zoomed in you want. I have used like 25 feet for width and height in one of my apps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then just pass into Map.ZoomTo()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 18:37:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/map-zoomto-using-graphic-geometries/m-p/204210#M939</guid>
      <dc:creator>MelindaFrost</dc:creator>
      <dc:date>2011-11-18T18:37:12Z</dc:date>
    </item>
  </channel>
</rss>

