Added the event handler for the draw.modechange event and the modeChanged event. It tracks the state change while creating/clicking dawn annotations.
Added the aborted event. It will help to indicate the popup window is closed.
Modified the showPopup function to fix the drawn annotation popup. Pass new attribute annotationFeatureGeometry in options. annotationFeatureGeometry is the central geo coordinate for the drawn annotation.
Added the clear feature function, which is used to switch the display of different types of drawn annotation.
Below is related to displaying relevant features while creating(maybe also updating/deleting) new annotations (A request from Andre).
Modified 'this.clickEvent_' function to fix can only click on the annotation layer issue when starting drawing. This shows relevant features while drawing connectivities or points.
Binded 'touchend' event to 'this.clickEvent_'. This fixed the no-callback event issue in the tablet browser(touch screen).
A few more things have been added/modified:
Added the event handler for the
draw.modechange
event and themodeChanged
event. It tracks the state change while creating/clicking dawn annotations.Added the
aborted
event. It will help to indicate the popup window is closed.Modified the
showPopup
function to fix the drawn annotation popup. Pass new attributeannotationFeatureGeometry
in options.annotationFeatureGeometry
is the central geo coordinate for the drawn annotation.Added the clear feature function, which is used to switch the display of different types of drawn annotation.
Below is related to displaying relevant features while creating(maybe also updating/deleting) new annotations (A request from Andre).