Hi Jachym, I would like to know if there is a working demo of this functionnality somewhere on the web. I plan to look at your code in order to compare it to the code developed by Fredj also dealing with vector snapping (in sandbox/camptocamp/feature see modify-feature.html).
We already manage to "edge" and "vertex" snapping. Though, we don't support custom snapping (for the moment). Thanks Pierre On 9/5/07, Jachym Cepicky <[EMAIL PROTECTED]> wrote: > hallo, > > I added patch, which enables snapping function. The patch adds > this.snapDist to OL.Handler.Point(.js) and apart from intern snapping > functions, it also defines empty this.customSnap method, which can be > used by user to define her own (e.g. raster-based) snapping. > > http://trac.openlayers.org/ticket/954 > > hope, it works also for another devs... > jachym > > -- > Jachym Cepicky > e-mail: [EMAIL PROTECTED] > URL: http://les-ejk.cz > GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub > > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > > > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
