documentcloud/backbone — Issue #704: how to get this in google.maps.event in backbone's view
Author: nXqd
Created: 2011-10-30 04:42:17+00:00
State: open

I choose the best answer way to declare event in this question
http://stackoverflow.com/questions/4379303/backbone-js-with-google-maps-problems-with-this-and-listeners

but when I declare view event :

```javascript

_.bindAll(this, 'dragMarker', 'dragMap');
google.maps.event.addListener(this.marker, "dragend", this.dragMarker);

// ---------
dragMarker: function() {
// how can I get
this.getPosition(); // << from google.maps.event, not this which is our view
}
```

Thanks :)