Hi,
I'm using the new smartMapping createClassedColorRender, but don't like the color ramp options that come for the default basemaps. How can I change the color ramp to a simple dark blue to red ramp?
This is how I'm creating the renderer now (its for a feature layer)
Thanks,
-dave
smartMapping.createClassedColorRenderer({
layer: featureLayer,
field: fieldName,
basemap: "oceans",
classificationMethod: "natural-breaks",
numClasses: 10
}).then(function (response) {
featureLayer.setRenderer(response.renderer);
featureLayer.redraw();
createLegend(map, featureLayer, fieldName);
});
map.addLayer(featureLayer);