Skip to content

on enhancement of Openlayers.Handler.Path that allows modifying points.

Notifications You must be signed in to change notification settings

arenevier/ModifiablePath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

ModifiablePath is an Openlayers Class similar to Openlayers.Handler.Path

When placing points with standard Path hander, once a point has been placed,
it's not possible to modify it.

With ModifiablePath, it's possible to drap points of the path to move them.
When a new point is entered, a temporary middle point appears. That point can
be used to split portion of a path. So, new points can be added as needed.

Also, when pressing Shift key, yes enter in delete mode. When in delete mode,
clicking on a point of the path deletes the point. Releasing Shift key leaves
delete mode.

Once path has been finalized (by double clicking), the path cannot be modified
anymore.

About

on enhancement of Openlayers.Handler.Path that allows modifying points.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published