You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mhaertwig What do you think about making drawInteraction an public property and maybe renaming it to interaction?
Sounds good! How do we deal with controls having multiple interactions, like the CAD control. Alternatively we could implement a custom event handling for OLE to be more flexible. What do you think?
Hello! How can i use the drawend event with ole2?
My code:
var draw;
if (tipo === 'Point') {
draw = new ole.control.Draw({
source: source
});
} else if (tipo === 'LineString') {
draw = new ole.control.Draw({
type: 'LineString',
source: source
});
} else if (tipo === 'Polygon') {
draw = new ole.control.Draw({
type: 'Polygon',
source: source
});
}
draw.on('drawend', function (evt) {
...
The text was updated successfully, but these errors were encountered: