LayerAPI.overrideDefaultAnnoCutoffs

 

void overrideDefaultAnnoCutoffs(double hiDisplayScale, double loDisplayScale)

This method sets the current high and low display scale cutoffs for the layer to hiDisplayScale and loDisplayScale, respectively.  These values determine the range of display scales at which annotation is visible for this layer.  The arguments are interpreted as follows: the large-scale cutoff is 1:hiDisplayScale and the small-scale cuttof is 1:loDisplayScale. Thus, to be consistent hiDisplayScale must be smaller the loDisplayScale.  The annotation will then be visible when the display scale lies between these to values, inclusive.

If the given value of an argument is 0 or less, there is no corresponding cutoff. 

The cutoffs defined via this method will be used during all subsequent calls to doAnnotation for this layer.