public void setUseLazyLoading ( boolean useLazyLoading ) { if ( useLazyLoading != this . useLazyLoading ) { if ( useLazyLoading ) { lazyFeatureIncludesDefault = GeomajasConstant . FEATURE_INCLUDE_STYLE + GeomajasConstant . FEATURE_INCLUDE_LABEL ; lazyFeatureIncludesSelect = GeomajasConstant . FEATURE_INCLUDE_ALL ; lazyFeatureIncludesAll = GeomajasConstant . FEATURE_INCLUDE_ALL ; } else { lazyFeatureIncludesDefault = GeomajasConstant . FEATURE_INCLUDE_ALL ; lazyFeatureIncludesSelect = GeomajasConstant . FEATURE_INCLUDE_ALL ; lazyFeatureIncludesAll = GeomajasConstant . FEATURE_INCLUDE_ALL ; } } this . useLazyLoading = useLazyLoading ; }
Set lazy feature loading status .