AnsweredAssumed Answered

HELP! Making a Feature Layer invisible when zoomed into Area of Interest

Question asked by 924216004 on Jul 22, 2015
Latest reply on Jul 22, 2015 by rscheitlin

Hello,

How do I set the feature layer to disappear when zoomed into an Area of Interest?  Any help is appreciated, references,or documents. Thanks!

 

 

 

var featureLayerParks = new FeatureLayer("http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1", {
         mode: FeatureLayer.MODE_ONDEMAND,
         visible: FeatureLayer.isVisibleAtMapScale=true

Outcomes