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: {{vm.ne.lat()}}, {{vm.ne.lng()}}
New south-west corner: {{vm.sw.lat()}}, {{vm.sw.lng()}}
Rectangle moved.
New north-east corner: {{vm.ne.lat()}}, {{vm.ne.lng()}}
New south-west corner: {{vm.sw.lat()}}, {{vm.sw.lng()}}