onConflict
onConflict: "extend" | "replace" | "subsume" | "skip"
Specifies what to do if a FeatureAppearance has already been configured for the specified element, model, or subcategory by a previous call to override.
- "subsume" (the default): Merge the two appearances using the logic described by extendAppearance such that any aspect overridden by the existing appearance will be overwritten
if also overridden by appearance.
- The resulting appearance is computed as
existingAppearance.extendAppearance(newAppearance)
.
- The resulting appearance is computed as
- "extend": Merge the two appearances using the logic described by extendAppearance such that any aspect overridden by appearance will only
apply if that aspect is not already overridden by a previous appearance.
- The resulting appearance is computed as
newAppearance.extendAppearance(existingAppearance)
.
- The resulting appearance is computed as
- "replace": Completely replace the existing appearance with appearance.
- "skip": Keep the existing appearance.
Defined in
- core/common/src/FeatureSymbology.ts Line 438
Last Updated: 13 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.