branflake2267 / GWT-Maps-V3-Api

GWT Maps V3 Javascript Bindings
Other
144 stars 113 forks source link

PlaceChangeMapEvent: All fields are undefined #232

Open ghost opened 8 years ago

ghost commented 8 years ago

Not sure why this is the case but all the fields of the PlaceChangeMapEvent are undefined if that event happens. I would expect to get at least the Autocomplete from getSource() of the event.

final Autocomplete autoComplete = Autocomplete.newInstance(element, options);

autoComplete.addPlaceChangeHandler(new PlaceChangeMapHandler() {
    @Override
    public void onEvent(PlaceChangeMapEvent event) {
    }
}