It is. The addTargetLayer  and removeTargetLayer methods should be what you
are after.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert Sanson
Sent: Tuesday, February 28, 2012 1:55 AM
To: [email protected]
Subject: [OpenLayers-Users] Snap control target - possible to change?

Hi

After creating a snap control, it is possible to change the editable layer
using setLayer() function. Is it possible to change the target layer
dynamically depending on the editable layer?

Many thanks,

Robert



This email and any attachments are confidential and intended solely for the
addressee(s). If you are not the intended recipient, please notify us
immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted
Security.
www.websense.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

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

Reply via email to