Hi experts,
the subject is saying it all. This is the code which is looped multiple
times with varying LatLng/Douple-values (tested during debugging); in ops I
only set an icon (always the same icon):
Marker marker = new Marker(LatLng.newInstance(Double.valueOf(<some double as
String>),Double.valueOf(<some double as String>)),ops);
marker.addMarkerClickHandler(new MarkerClickHandler(){
@Override
public void onClick(MarkerClickEvent event) {
}});
map.addOverlay(marker);
I do not get an error or any exception. The correct icon is shown only and
always for the *last *marker.
Second problem:
when I click the first time on the icon, the click handler is executed with
no error. The second time I do the same click following exception raises:
com.google.gwt.core.client.JavaScriptException: (TypeError): Cannot read
property 'ua' of null
I assume both problems are somehow linked. Any Ideas?
Thanks a lot in advance.
--
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/-/WUl6ZEU3bDlwVFlK.
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.