thanks for the information. RG
2009/7/17 Arnd Wippermann <[email protected]> > Hi, > > The circles you are seeing are symbols for the point features and no map > objects. You have to use OpenLayers regularpolygon to draw a circle. > > Arnd > > ------------------------------ > *Von:* [email protected] [mailto:[email protected]] > *Im Auftrag von *Valeria Muñoz > *Gesendet:* Freitag, 17. Juli 2009 21:59 > *An:* [email protected] > *Betreff:* [OpenLayers-Users] help with vector(circle) > > Hi > i have a problem with vector, i draw a point(circle) in my map with > this code: > > var style_blue = OpenLayers.Util.extend({}, > OpenLayers.Feature.Vector.style['default']); > style_blue.strokeColor = linea_color; > style_blue.fillColor = color; > if(opc>0) > style_blue.fillOpacity=opc; > else > style_blue.fillOpacity=0.4; > style_blue.stroke=false; > style_blue.pointRadius=radio; > var points = new OpenLayers.Geometry.Point(lon_circulo,lat_circulo); > pointFeature = new OpenLayers.Feature.Vector(points, null, style_blue); > vectorLayer.addFeatures([pointFeature]); > > this code draw the circle but my problem is that the circle does not fit to > the zoom of the map, always has the same radio and what I need is to fit the > map and as the zoom is the highest circle is also. > > do you know how can i do this? > > RG >
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
