[OpenLayers-Users] Snap control target - possible to change?

Dominik Mikiewicz dominikmikiewicz at o2.pl
Tue Feb 28 08:29:43 EST 2012


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

-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Robert Sanson
Sent: Tuesday, February 28, 2012 1:55 AM
To: openlayers-users at lists.osgeo.org
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
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list