Skip to content

Commit

Permalink
Document draw:editresize and draw:editmove events.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnyscholes committed May 31, 2016
1 parent 6782224 commit 3807820
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.org/Leaflet/Leaflet.draw.svg?branch=master)](https://travis-ci.org/Leaflet/Leaflet.draw)

Leaflet.draw: [![Join the chat at https://gitter.im/Leaflet/Leaflet.draw](https://badges.gitter.im/Leaflet/Leaflet.draw.svg)](https://gitter.im/Leaflet/Leaflet.draw?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Leaflet: [![Gitter](https://badges.gitter.im/Leaflet/Leaflet.svg)](https://gitter.im/Leaflet/Leaflet?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

# Important
Expand Down Expand Up @@ -159,6 +159,22 @@ Triggered when the user starts edit mode by clicking the edit tool button.
| --- | --- | ---
| handler | String | The type of edit this is. One of: `edit`

#### draw:editmove

Triggered as the user moves a rectangle, circle or marker.

| Property | Type | Description
| --- | --- | ---
| layer | [ILayer](http://leafletjs.com/reference.html#ilayer) | Layer that was just moved.

#### draw:editresized

Triggered as the user resizes a rectangle or circle.

| Property | Type | Description
| --- | --- | ---
| layer | [ILayer](http://leafletjs.com/reference.html#ilayer) | Layer that was just moved.

#### draw:editvertex

Triggered when a vertex is edited on a polyline or polygon.
Expand Down

0 comments on commit 3807820

Please sign in to comment.