Hi,
I submitted new ticket with patch (needs more work) with initial
implementation of the possibility to digitize 'hole' into existing
polygon (donut-like polygon) [1], something like
+-----+
| +-+ |
| | | |
| +-+ |
+-----+
How to test:
* Digitize polygon
* Press CTRL key and digitize new polygon inside existing one
Where to test:
*
http://dev.openlayers.org/sandbox/jachym/donut_polygons/examples/editingtoolbar.html
*
http://dev.openlayers.org/sandbox/jachym/donut_polygons/examples/modify-feature.html
and others
I would welcome any comment about the approach, I choosed. The patch
works for me, but I can imagine, someone would like to see more
general aproach.
Thanks
Jachym
[1] http://trac.openlayers.org/ticket/1894
--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/pgp/JachymCepicky.pgp
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev