rumelk

How to Get Geometry Type of a Feature Layer

Discussion created by rumelk on Nov 20, 2013
Latest reply on Nov 20, 2013 by rumelk
Hi,

I created a feature layer and tried to get the geometry type of that layer. But this doesn't work. I need this to define a selection symbol depending on the geometry type.

featureLayer = new esri.layers.FeatureLayer(layerListArray[0], layerOptions);

featureLayer.geometryType; (This doesn't work)

featureLayer.setSelectionSymbol(markerSymbol);
map.addLayer(featureLayer);


Need a help...

Outcomes