Select to view content in your preferred language

FeatureLayer has stopped working

826
3
Jump to solution
07-17-2012 01:08 PM
LanceCrumbliss
Frequent Contributor
Hello All,

I don't know when this started, but it may have been after an upgrade to v2.4 of the API.  It's the only thing I can think of that has changed.  Server is v10.x

I have a featurelayer that has stopped working.

            <esri:FeatureLayer ID="ParcelMapTipLayer" Opacity="1" OutFields="OBJECTID, ASMNTNUM" Mode="OnDemand" Visible="True"                                                               Url="<removed>"                                Renderer="{StaticResource ParcelToolTipRenderer}" MouseEnter="FeatureLayer_MouseEnter"                                RendererTakesPrecedence="True"  InitializationFailed="FeatureLayer_InitializationFailed" Initialized="FeatureLayer_Initialized" >                                      <MapTip Xaml Removed/>             </esri:FeatureLayer>


It initializes; I can see in Fiddler it retrieves the initialization data just fine, and the Intialized event shows all is well.  The problem is that it's never hit again on any map navigations.  This is driving me nuts.  Does anyone have any ideas as to why it may not be being called to refresh?  Even if i set it to a different Mode from OnDemand (which has always worked) nothing changes.

Lance
0 Kudos
1 Solution

Accepted Solutions
DominiqueBroux
Esri Frequent Contributor
That  might be a scale range matter if  a scale range is defined at the server side for the feature layer.

Try by setting IgnoreServiceScaleRange to true (false is the default).

View solution in original post

0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
That  might be a scale range matter if  a scale range is defined at the server side for the feature layer.

Try by setting IgnoreServiceScaleRange to true (false is the default).
0 Kudos
LanceCrumbliss
Frequent Contributor
oh wow...thank you so much, that did it.  is that a new setting?

(whoops...meant to click on the check mark next you your post, Dominique, not mine!)
0 Kudos
DominiqueBroux
Esri Frequent Contributor
is that a new setting?


Yes new in 2.3.
0 Kudos