39. Mutation: Set custom color schemas to selected "GeoMaps"
Set custom color schemas to data layers: "ZonesMaps", "SoilDatasets".
Support for other data layers ("YieldDataset", "TopographyMaps", "SatelliteImages") is coming.
Update all attributes of the "GeoMap":
Update only color schemas of the "GeoMap":
IMPORTANT points to learn how to use the mutation:
Attributes
fieldUuid
,soilDatasetUuid
/vectorAnalysisMapUuid
, andshortName
are mandatory to identify the correct "GeoMap" to amend. All these three attributes together reflect the uniqueness of "GeoMap".Either
soilDatasetUuid
orvectorAnalysisMapUuid
attribute must be used per single "GeoMap" input.Value of
shortName
must be the same as the origin in the "GeoMap". It is not editable.Attributes
fullName
,description
,hexColorCodes
are editable for "ZonesMaps" and can be amended. The changes are not applied if the attribute is not mentioned.Attributes
fullName
,description
,classes
,hexColorCodes
are editable for "SoilDatasets" and can be amended. The changes are not applied if the attribute is not mentioned.Arrays
classes
andhexColorCodes
must have exactly the same length as the origin in "GeoMap".The length of "GeoMaps" arrays in the request and the response must be the same. If not, some "GeoMaps" were not edited successfully.
Last updated