Hello list
I'm using this example to draw new vectors
http://openlayers.org/dev/examples/drag-feature.html

I have some issues

1. How do I create another option to contain a Polygon with a specific size
I'm choosing
for example, when I check the "box" radio option, a new radio button for
this case, it will draw a whole shape, a squre 10x10, where ever I click on
the map.
so if I'll clicl on the (0, 0) point is will be that POLYGON((0 0, 0 10, 10
10, 10 0)) and on every other point the fixed coordinates for the 10x10
square POLYGON.

2. I want to make sure that, when I draw new vectors OR when I drag
existence vectors, the vectors could not get run over by another vector.
instead, I want it to not to create the new vector and maybe run an error
(alert) OR to stop the draging at the touching point (the way the mouse
pointer came from).

-----------------
jumpNg

-- 
-----------------
jumpNg
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to