![]() ![]() ![]() Options to configure the labels shown next to each segment of the geometry being created or updated.Īn array of editing configurations for individual layers. The unique ID assigned to the widget when the widget is created. Indicates the heading level to use for title of the widget. The ID or node representing the DOM element containing the widget. Show inherited properties Hide inherited properties NameĬreateWorkflow | CreateFeaturesWorkflow | UpdateWorkflowĪ property indicating the current active workflow.Īn array of string values which specifies what end users are allowed to edit. If needing to update this, update the Editor's snappingOptions by setting the FeatureSnappingLayerSource directly. By default, all layers that can be configured for snapping are automatically added to this list. Feature to feature snapping allows the new or existing geometries to be snapped to geometries in other layers, as shown within the Snapping layer list, or with geometries within the layer that is currently being edited. For example, if lines are needed to be at exact right angles, the snapping indicators display as such and vertices can be created appropriately. Geometry constraints allows the editor to specify how they want their geometries to draw. By default, both geometry constraints and feature to feature snapping is enabled. There is no longer a need to specifically set it by passing in the Editor's snappingOptions to an instance of SnappingControls. Snapping is automatically included in the widget's UI.This new workflow is designed for both individual and multiple feature creation. The existing create workflow will still work but has been marked as deprecated in favor of using create features workflow. ![]() These fields can be updated as the user creates new features. After the initial sketch is created, the attribute form will display with the specified field elements. It is now possible to continuously create multiple features of the same type at once. An additional create features workflow was added to include continuous editing.The initial Editor dialog has been removed and updated to include one initial panel that consolidates the creates and update workflows.Expect to see more updates as future versions are released. These updates are just a few of the improvements on the Editor roadmap. UpdateWorkflow - This workflow allows you to update and/or delete existing features within an editable feature layer.īeginning with version 4.23, the Editor widget has undergone some significant updates including both its UI and the underlying API.CreateFeaturesWorkflow (new at 4.23) - This workflow allows both individual and continuous feature creation at once.This workflow will eventually be removed in favor of, CreateWorkflow (deprecated as of 4.23) - This workflow is primarily designed for existing custom workflows that target single feature creation.The widget has different workflows based on the functionality needed and are discussed below. This property takes an array of configuration objects which allow you to configure the editing experience for these layers. In addition, it is also possible to configure how the Editor behaves by setting its If it recognizes that they are editable, the layers can be used by the widget. It automatically recognizes if there are editable feature layers within the map. This widget provides an out-of-the-box editing experience to help streamline the editing experience within a web application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |