I'm working on a feature layer hover that uses the tooltip dialog. Pretty much out of the box from the documentation:
Feature layer hover | ArcGIS API for JavaScript 3.33
However, I'm attempting to only utilize the tooltip and graphic layer only below a certain map scale. I have added the set extent and an if statement but it seems once it draws for the first time when I zoom back out it still continues to fire. What am I missing?
<SPAN class="comment token">///////////////////////////////////////////////////////////////////////////</SPAN>
<SPAN class="comment token">// Copyright © Esri. All Rights Reserved.</SPAN>
<SPAN class="comment token">//</SPAN>
<SPAN class="comment token">// Licensed under the Apache License Version 2.0 (the "License");</SPAN>
<SPAN class="comment token">// you may not use this file except in compliance with the License.</SPAN>
<SPAN class="comment token">// You may obtain a copy of the License at</SPAN>
<SPAN class="comment token">//</SPAN>
<SPAN class="comment token">// http://www.apache.org/licenses/LICENSE-2.0</SPAN>
<SPAN class="comment token">//</SPAN>
<SPAN class="comment token">// Unless required by applicable law or agreed to in writing, software</SPAN>
<SPAN class="comment token">// distributed under the License is distributed on an "AS IS" BASIS,</SPAN>
<SPAN class="comment token">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</SPAN>
<SPAN class="comment token">//