chellymehdi / vopenlayers

Automatically exported from code.google.com/p/vopenlayers
0 stars 0 forks source link

Mouse click details are not set in the event #125

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- add to a Marker a ClickListener
- in the implemented click() method check the ClickEvent instance for details

What is the expected output? What do you see instead?
- there must be details, but none is available

What version of the product are you using? On what operating system?
1.2 (also exists in 1.3)

Please provide any additional information below.
Looking at the source of Marker class one can see that no details info is 
passed when ClickEvent is fired:

@Override
public void changeVariables(Object source, Map<String, Object> variables) {
  super.changeVariables(source, variables);
    if (variables.containsKey("click")) {
      fireEvent(new ClickEvent(this, null));
    }
}

I would like to implement additional behaviour beyond the default simple 
left-click.

Original issue reported on code.google.com by la.ti...@gmail.com on 15 Apr 2013 at 12:59