Hi.

I have some trouble with this test code:

public void onModuleLoad() {

                final MapWidget map = new MapWidget(LatLng.newInstance(0, 0), 
2);
                map.setSize("800px", "400px");
                LatLng[] points = new LatLng[2];

                points[0] = LatLng.newInstance(12, 45);
                points[1] = LatLng.newInstance(-12, 34);

                Polyline path = new Polyline(points);
                map.addOverlay(new Marker(points[0]));
                map.addOverlay(new Marker(points[1]));
                map.addOverlay(path);

                RootPanel.get().add(map);
}

When I run it, the code create a map with 2 markers, but there isn't
any polyline! And, if I add a addMarkerClickHandler, for InfoWindow
popup, it don't work. I have also some trouble with map drag and map
zoom (while zooming, sometimes, the markers disappears...) If I remove
the polyline object creation, infoWindow ... dragging ...
zomming...all works.

Debugging the code with GWT.log, I see that Polyline object has 2
vertex, so the object is created.

I'm trying it with gwt 1.5.3 from linux.

So...it's an api bug? It's a connection problem with maps.google.com?
(sometimes I get a "connecting to sorry.google.com" ....) It's an
environment problem on my linux box?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
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-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to