function enableDrawLine()
{
var Drawoptions = {handlerOptions: {freehand: true}
controls = {
point: new
OpenLayers.Control.DrawFeature(vectors,OpenLayers.Handler.Point,Drawoptions),
line: new
OpenLayers.Control.DrawFeature(vectors,OpenLayers.Handler.Path,,Drawoptions),
polygon: new
OpenLayers.Control.DrawFeature(vectors,OpenLayers.Handler.Polygon,,Drawoptions)
};
for(var key in controls)
{
var c = controls[key];
c.featureAdded= featureadd;
map.addControl(c);
}
}
Дмитрий-27 wrote:
>
> Hi, guys.
> I added support cubic curves to OpenLayers. Now you can display and draw
> curves. I think that`s great. Also I added "solid dash array" style
> support. How can I send developers my .js files if I could not use svn and
> commit this changes?
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
>
>
-----
http://WWW.HANDANDAILY.COM VISIT CHINA
--
View this message in context:
http://www.nabble.com/Curves-feature-done-tp19251537p19267041.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev