featureLayer = new esri.layers.FeatureLayer(layerListArray[0], layerOptions); featureLayer.geometryType; (This doesn't work) featureLayer.setSelectionSymbol(markerSymbol); map.addLayer(featureLayer);
FeatureLayer.geometryTypeshould work but if that doesn't work also then when the layer get added to map you can get geometry type of feature layer .Suppose the feature layer Id is Layer1 then use this
map._layers["Layer1"].geometryType.