There are several new enums with Default members in RC1 that have rather ambiguous values. For example, MapLeftClickDragMode has three members with the following values:
- Default = 0
- ZoomInWithKey = 1
- Disabled = 2
Given that Default member does not share a value with either of the two other members, it looks like the Default member maps to some third option. However, as far as I can tell, the default option for ExtentInteractiveOverlay.LeftClickDragMode is in fact ZoomInWithKey. If this is the case, the enum Default and ZoomInWithKey options should share a value. e.g.:
public enum MapLeftClickDragMode
{
Default = 0,
ZoomInWithKey = 0,
Disabled = 1
}
Another, perhaps even better option, would be to get rid of the Default member entirely after mapping the actual default behaviour to the 0 value in the enum. e.g.:
public enum MapLeftClickDragMode
{
ZoomInWithKey = 0,
Disabled = 1
}
If there really is meant to be a third behaviour, the corresponding enum member should be explicitly named rather than using the rather vague name "Default".