Need help with GPolyline
Hello,
i've the following code to create points.
var points = [];
function list()
{
GEvent.addListener(map, 'click', function(overlay, point) {
points.push(point);
});
} list();
After that i will draw the lines with this function.
function draw()
{
map.addOverlay(
new GPolyline(points,"#ff0000", 10)
);
}
In Geko it works fine, but in IE i got an error. Any ideas whats wrong?
thx a lot
Rufnex
0 Comments:
Yorum Gönder
<< Home