Hi Experts,

using GWT 2.3.0 I want to have an additional attribute in every google maps 
Marker. My Idea was to extend the existing Marker class the following way:


public class MyMarker extends Marker {
private int myNumber;
public MyMarker(LatLng point) {
super(point);
}

public MyMarker(LatLng point, MarkerOptions options) {
super(point, options);
}

public int getmyNumber() {
return myNumber;
}
 public void setmyNumber(int number) {
   myNumber = number;
}
}

 Although this is compiling without any errors I think it is not working 
properly. When I click (MarkerClickHandler) twice on a marker I get 
following java script error (not the first time I click on it):

com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read 
property 'ua' of null

Surprisingly I don't get this error when I use the drag'n drop handler. 

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/bi1CVEhieXd2UTRK.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to