<?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 Invoke zoom/pan event using JS API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invoke-zoom-pan-event-using-js-api/m-p/359416#M33328</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to invoke a the zoom or pan with out trigger an event. I mean with out mouse scroll or click on zoom panel, how can i invoke the same in code level using a JS function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Jun 2012 03:13:50 GMT</pubDate>
    <dc:creator>HarshanaDias</dc:creator>
    <dc:date>2012-06-29T03:13:50Z</dc:date>
    <item>
      <title>Invoke zoom/pan event using JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invoke-zoom-pan-event-using-js-api/m-p/359416#M33328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to invoke a the zoom or pan with out trigger an event. I mean with out mouse scroll or click on zoom panel, how can i invoke the same in code level using a JS function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 03:13:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invoke-zoom-pan-event-using-js-api/m-p/359416#M33328</guid>
      <dc:creator>HarshanaDias</dc:creator>
      <dc:date>2012-06-29T03:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke zoom/pan event using JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invoke-zoom-pan-event-using-js-api/m-p/359417#M33329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;How to invoke a the zoom or pan with out trigger an event. I mean with out mouse scroll or click on zoom panel, how can i invoke the same in code level using a JS function.&lt;BR /&gt;&lt;BR /&gt;Thank You.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are using a tiledmapservice then you can go for &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;centerAndZoom(mapPoint, levelOrFactor)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;use 0.5 to zoom in twice as far and 2.0 to zoom out twice as far.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;or else you you go with &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.setExtent(map.extent.expand(0.5));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; for Zooming in and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.setExtent(map.extent.expand(2));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for Zooming out.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Pan you can use the functions panUp(),pannDown(), panLeft(), panRight()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can find more about the map navigation &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/map.htm#MapConst"&gt;here&lt;/A&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/intro_navigation.htm"&gt; here&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark this as an answer if it helped you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 05:15:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invoke-zoom-pan-event-using-js-api/m-p/359417#M33329</guid>
      <dc:creator>PramodHarithsa1</dc:creator>
      <dc:date>2012-06-29T05:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke zoom/pan event using JS API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invoke-zoom-pan-event-using-js-api/m-p/359418#M33330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Harshana,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can find some more advanced examples on my blog &lt;/SPAN&gt;&lt;A href="http://jpenet.blogspot.be/2012/04/arcgis-javascript-api-using-basic-gis.html"&gt;http://jpenet.blogspot.be/2012/04/arcgis-javascript-api-using-basic-gis.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Johnny&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jun 2012 06:30:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/invoke-zoom-pan-event-using-js-api/m-p/359418#M33330</guid>
      <dc:creator>JohnnyPenet</dc:creator>
      <dc:date>2012-06-29T06:30:44Z</dc:date>
    </item>
  </channel>
</rss>

