problem with PolyLine
Hello;
I want to display a polyline on my map google by giving a list of points
(JsArray points).
the polyline is not displayed, here is my code:
LatLng[] a = new LatLng[3];
a[0] = LatLng.newInstance(2.956377, 36.77403);
a[1] = LatLng.newInstance(2.95372, 37);
a[2] = LatLng.newInstance(2.97, 36.78403);
JsArray<LatLng> listLatLng = ArrayHelper.toJsArray(a);
options.setMap(mapWidget);
options.setPath(listLatLng);
options.setStrokeColor("#FF0000");//couleur du tracé
options.setStrokeOpacity(1.0);//opacité du tracé
options.setStrokeWeight(2);//grosseur du tracé
Polyline polyLine = Polyline.newInstance(options);
help me please!
Original issue reported on code.google.com by bouallou...@gmail.com on 28 Apr 2012 at 12:00
Original issue reported on code.google.com by
bouallou...@gmail.com
on 28 Apr 2012 at 12:00