<?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: Trying to customize zooming feature using codes from zoom widget (Zoom Widget) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-customize-zooming-feature-using-codes/m-p/114313#M10674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The zoom widget has a viewModel property:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom.html#viewModel" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom.html#viewModel"&gt;Zoom | API Reference | ArcGIS API for JavaScript 4.0 | viewModel&lt;/A&gt;​ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create the zoom widget the constructor looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-keyword" style="color: #aa0d91; font-weight: bold; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px; background-color: #f8f8f8;"&gt; zoom = &lt;/SPAN&gt;&lt;SPAN class="hljs-keyword" style="color: #aa0d91; font-weight: bold; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px; background-color: #f8f8f8;"&gt; Zoom({ view: view });&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 12:49:39 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-05-13T12:49:39Z</dc:date>
    <item>
      <title>Trying to customize zooming feature using codes from zoom widget (Zoom Widget)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-customize-zooming-feature-using-codes/m-p/114312#M10673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to customized the zoom widget, i.e. i have created my own zoom in/out template, and now i want to invoke the zooming functionalities, but when i looked into the codes for zoom widget(zoom.js) the code is refererring &lt;SPAN class="pl-v" style="color: #ed6a43; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pl-smi" style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;viewModel&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pl-en" style="color: #795da3; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;zoomOut&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;();, so just would like to know that, from where it will get the reference of &lt;SPAN class="pl-v" style="color: #ed6a43; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pl-smi" style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;viewModel , i didnot find anywhere, in my case it comes as "undefined". any clue/pointer on this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&lt;SPAN class="pl-smi" style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&lt;SPAN class="pl-smi" style="color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 12px;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 12:24:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-customize-zooming-feature-using-codes/m-p/114312#M10673</guid>
      <dc:creator>SachinTiwari</dc:creator>
      <dc:date>2016-05-13T12:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to customize zooming feature using codes from zoom widget (Zoom Widget)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-customize-zooming-feature-using-codes/m-p/114313#M10674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sachin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The zoom widget has a viewModel property:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom.html#viewModel" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom.html#viewModel"&gt;Zoom | API Reference | ArcGIS API for JavaScript 4.0 | viewModel&lt;/A&gt;​ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create the zoom widget the constructor looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-keyword" style="color: #aa0d91; font-weight: bold; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px; background-color: #f8f8f8;"&gt; zoom = &lt;/SPAN&gt;&lt;SPAN class="hljs-keyword" style="color: #aa0d91; font-weight: bold; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #595959; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 14.45px; background-color: #f8f8f8;"&gt; Zoom({ view: view });&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 12:49:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/trying-to-customize-zooming-feature-using-codes/m-p/114313#M10674</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-13T12:49:39Z</dc:date>
    </item>
  </channel>
</rss>

