Select to view content in your preferred language

Feature layer has to be dynamic?

563
0
07-19-2012 06:42 AM
LeiZhou
Deactivated User
I need to use a method to show the feature layer when selecting it (see my codes).  My question is that: if the layer is dynamic then everything shows up; but if the layer is a tiled layer, it can not show up or only show a small part of the layer.  Why would this happen? Do I have to use dynamic layer as a feature layer? Thanks!

private function featureLayerShowHandler(event:FlexEvent):void
   {
    var newLayer:FeatureLayer = event.target as FeatureLayer;
    myMap.lods = newLayer.graphicProvider.lods;
   }
Tags (2)
0 Kudos
0 Replies