search for: gpolygon

Displaying 2 results from an estimated 2 matches for "gpolygon".

Did you mean: polygon
2006 Jun 30
1
plot with NAs in x and type="s" (PR#9046)
...ot a vector containing a NA value at position 2 and the plotting type is "s" or "S". ## start of code O3<-c(0.8,NA,0.7,1.1,0.9,5.5,1.3,1,1.2) ## The following error is reported with the two commands below: ## Error in plot.xy(xy, type, ...) : unable to allocate memory (in GPolygon) plot(O3,type="s") plot(O3,type="S") ## The following commands work without problems plot(O3,type="l") plot(c(0.6, O3),type="s") plot(c(0.4,0.6, O3),type="s") plot(O3[2:length(O3)], type="s") ## end of code Kind regards Ren?
2009 Sep 20
0
r30 committed - jslint now passing for google and googlev3
..., function (point) { var loc = point.lat().toFixed(4) + '' / '' + point.lng().toFixed(4); @@ -496,11 +498,10 @@ gpoints.push(this.points[i].toProprietary(''google'')); } if (this.closed || gpoints[0].equals(gpoints[length-1])) { - var gpoly = new GPolygon(gpoints, this.color, this.width, this.opacity, this.fillColor || "#5462E3", this.opacity || "0.3"); + return new GPolygon(gpoints, this.color, this.width, this.opacity, this.fillColor || "#5462E3", this.opacity || "0.3"); } else { - var gpoly = ne...