Hi all,
In edit widget i want to enable all layers snapping, i used this code:
snappingOptions: { // autocasts to SnappingOptions()
enabled: true, // global snapping is turned on
// assigns a collection of FeatureSnappingLayerSource() and enables feature snapping on this layer
featureSources: [{ layer: myFlLayer1, myflLayer2, enabled: true }]
}but, it des not work.
How can i pass several layers in featureSources?
Thanks