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
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}),
[...]
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
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
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
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
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