<?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 What is the zoomScale parameter supposed to set in a Geocoder? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-zoomscale-parameter-supposed-to-set-in/m-p/403354#M37138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Reference for Geocoder, the definition for the zoomScale property is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d;"&gt;&lt;EM style="font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;Scale to zoom to when geocoder does not return an extent. The geocoder will create an extent based on the scale supplied and the geometry returned.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;All I'm trying to do is not have the geocoder zoomed in so tight.&amp;nbsp; &lt;SPAN&gt;It seems like any time you enter an address, you are getting an extent, even though the result is a point feature. &lt;/SPAN&gt;&amp;nbsp; I tried altering the zoomScale to something larger like 500000, but it doesn't do anything.&amp;nbsp; I assume this is because the geocoder IS returning an extent, even though it's just a tiny one around the point.&amp;nbsp; Under what situations is it NOT returning an extent?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;How can I control this?&amp;nbsp; I added a centerAndZoom to the results function of the geocoder, but it seems to be first zooming in tight and then zooming out again.&amp;nbsp; That's no good. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2015 21:06:20 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2015-03-20T21:06:20Z</dc:date>
    <item>
      <title>What is the zoomScale parameter supposed to set in a Geocoder?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-zoomscale-parameter-supposed-to-set-in/m-p/403354#M37138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Reference for Geocoder, the definition for the zoomScale property is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d;"&gt;&lt;EM style="font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;Scale to zoom to when geocoder does not return an extent. The geocoder will create an extent based on the scale supplied and the geometry returned.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;All I'm trying to do is not have the geocoder zoomed in so tight.&amp;nbsp; &lt;SPAN&gt;It seems like any time you enter an address, you are getting an extent, even though the result is a point feature. &lt;/SPAN&gt;&amp;nbsp; I tried altering the zoomScale to something larger like 500000, but it doesn't do anything.&amp;nbsp; I assume this is because the geocoder IS returning an extent, even though it's just a tiny one around the point.&amp;nbsp; Under what situations is it NOT returning an extent?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;How can I control this?&amp;nbsp; I added a centerAndZoom to the results function of the geocoder, but it seems to be first zooming in tight and then zooming out again.&amp;nbsp; That's no good. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2015 21:06:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/what-is-the-zoomscale-parameter-supposed-to-set-in/m-p/403354#M37138</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-03-20T21:06:20Z</dc:date>
    </item>
  </channel>
</rss>

