ArcIMS中对FeatureLayer 设置setMaxScale()和setMinScale()注意问题!

setMaxScale

public void setMaxScale(Stringvalue)
Sets the maximum scale of the Layer object and can be used only for adding dynamic layer Scales can be set using a relative scale or by calculating the number of map units per pixel. Please refer to ArcXML Programmer's Reference Guide LAYER element for more information. Example: layer.setMaxScale("1:200000");
当在.AXL文件中配置好某个FeaturLayer的最大或是 最小显示比例的时候,不能再在程序中动态的更改FeatureLayer的显示比例。
就如文档中所说的:only for adding dynamic layer Scales
有遇到类似问题的朋友,希望一块讨论一下

你可能感兴趣的:(set)