Rectangle Event
This example adds a user-editable rectangle to the map. When the user changes the bounds of the rectangle, an info window pops up displaying the new bounds.
Rectangle moved.
New north-east corner: {{ne.lat()}}, {{ne.lng()}}
New south-west corner: {{sw.lat()}}, {{sw.lng()}}
Rectangle moved.
New north-east corner: {{ne.lat()}}, {{ne.lng()}}
New south-west corner: {{sw.lat()}}, {{sw.lng()}}