[OpenLayers-Users] Editing lines by user

Xavier Mamano (jorix) xavier.mamano at gmail.com
Sat Jan 5 09:03:53 PST 2013


Hi,

In js of the example see the function `report` that monitor various event,
the points are in the `event.feature.geometry` if LineString in
`geometry.components` array or generally by geometry.getVertices() function.

Regards,


adidas wrote
> 05.01.2013 16:37, Xavier Mamano (jorix) пишет:
>> Hi,
>>
>> Try http://www.openlayers.org/dev/examples/modify-feature.html
>>
>> Regards
>>
>>
>> adidas wrote
>>> How to implement the edit lines (removal and renewal) by user? Are there
>>> any examples?
>>> Or at least tell me how to get the coordinates of the line that drew a
>>> user?
>>> Drawing on this example:
>>> http://openlayers.org/dev/examples/drag-feature.html
>>> Thanks for the reply.
>>> _______________________________________________
>>> Users mailing list
>>> Users at .osgeo
>>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.n6.nabble.com/Editing-lines-by-user-tp5025733p5025751.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Users mailing list
>> 

> Users at .osgeo

>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
> Thank you.
> Another question: how to get the coordinates of the line, after the user 
> draws it?
> _______________________________________________
> Users mailing list

> Users at .osgeo

> http://lists.osgeo.org/mailman/listinfo/openlayers-users





--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Editing-lines-by-user-tp5025733p5025767.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list