added options to add a FeatureLayer to map