Re: [OpenLayers-Users] correct syntax geometryTypes

2009-04-08 Thread Erwin Poeze
The correct syntax is: modifypoint : new OpenLayers.Control.ModifyFeature(layer,{hover:true,geometryTypes:["OpenLayers.Geometry.Point"]}); Erwin 2009/4/8 Erwin Poeze : > I made an application that is able to draw and modify linestrings and > points.  When the user wants to m

[OpenLayers-Users] correct syntax geometryTypes

2009-04-08 Thread Erwin Poeze
I made an application that is able to draw and modify linestrings and points. When the user wants to modify a point, I want to limit the features that can be modified to points only. A code snippet that works is: [...] modifypoint : new OpenLayers.Control.ModifyFeature(layer,{hover:true}), [...]

[OpenLayers-Users] how to extend an existing line feature?

2009-03-17 Thread Erwin Poeze
Hi, It is possible to add vertices at the end of a feature that is drawn with OpenLayers.Handler.Path on a Vector layer? In other words, after the line is drawn and deselected, e.g. to pan the map, I would like to continue drawing the line from the end. ModifyFeatures does not seem to have this po

[OpenLayers-Users] documentation API OpenLayers.Handler.Click

2009-03-12 Thread Erwin Poeze
Hi, The API description of OpenLayers.Handler.Click should also include function activate() in addition to deactivate() Erwin ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] documentation handler - checkModifier

2009-03-11 Thread Erwin Poeze
Hi, The API on OpenLayer.Handler states in the Summary/Constants that the returns *false* if e.g. Shift is down. On the same page under KeyMask it is explained: "If the keyMask matches the combination of keys down on an event, checkModifiers returns *true*." My question is: does shift down in c

[OpenLayers-Users] typo examples/click-handler.html

2009-03-10 Thread Erwin Poeze
On line 91 of file examples/click-handler.html it should probably say 'handlerOptions' instead of 'hanlerOptions' Erwin ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users

[OpenLayers-Users] mouse-line offset with Google maps

2009-03-09 Thread Erwin Poeze
Hello, I'm new to OpenLayer but I have programming experience with the Google Maps API. I like the fact that OpenLayers is independent of the 'map provider' and I am considering to continue programming in OpenLayers. I ran into a problem that I'm unable to solve. I examined the example draw-featu