% Auto-generated: do not edit by hand
\name{editControl}

\alias{editControl}

\title{EditControl component}

\description{

}

\usage{
editControl(children=NULL, id=NULL, action=NULL, className=NULL,
draw=NULL, drawToolbar=NULL, edit=NULL, editToolbar=NULL,
geojson=NULL, onDrawVertex=NULL, onEditMove=NULL,
onEditResize=NULL, onEditVertex=NULL, onMounted=NULL,
position=NULL)
}

\arguments{
\item{children}{A list of or a singular dash component, string or number. The children of this component (dynamic).}

\item{id}{Character. The ID used to identify this component in Dash callbacks.}

\item{action}{Named list. Fires on every action.}

\item{className}{Character. A custom class name to assign to the image. Empty by default.}

\item{draw}{Named list. Enable/disable draw controls. See example of usage here https://github.com/Leaflet/Leaflet.draw#user-content-example-leafletdraw-config}

\item{drawToolbar}{Lists containing elements 'mode', 'action', 'n_clicks'.
those elements have the following types:
  - mode (a value equal to: "marker", "polygon", "polyline", "rectangle", "circle", "circlemarker"; optional)
  - action (a value equal to: "cancel", "finish", "delete last point"; optional)
  - n_clicks (numeric; optional). Change this prop to manipulate the drawing toolbar, i.e. to change modes and/or invoke actions.}

\item{edit}{Named list. Enable/disable edit controls. See example of usage here https://github.com/Leaflet/Leaflet.draw#user-content-example-leafletdraw-config}

\item{editToolbar}{Lists containing elements 'mode', 'action', 'n_clicks'.
those elements have the following types:
  - mode (a value equal to: "edit", "remove"; optional)
  - action (a value equal to: "save", "cancel", "clear all"; optional)
  - n_clicks (numeric; optional). Change this prop to manipulate the edit toolbar, i.e. to change modes and/or invoke actions.}

\item{geojson}{Named list. Geojson representing the current features.}

\item{onDrawVertex}{Character | named list. Hook to leaflet-draw's draw:drawvertex event.}

\item{onEditMove}{Character | named list. Hook to leaflet-draw's draw:editmove event.}

\item{onEditResize}{Character | named list. Hook to leaflet-draw's draw:editresize event.}

\item{onEditVertex}{Character | named list. Hook to leaflet-draw's draw:editvertex event.}

\item{onMounted}{Character | named list. Hook to leaflet-draw's draw:mounted event.}

\item{position}{A value equal to: "topleft", "topright", "bottomleft", "bottomright". The position of this component.}
}

\value{named list of JSON elements corresponding to React.js properties and their values}

