[OpenLayers-Dev] Curves feature done
haix
kaixin110 at gmail.com
Tue Sep 2 05:41:21 EDT 2008
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
> Dev at openlayers.org
> 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.
More information about the Dev
mailing list