wicketstuff / core

Wicketstuff-core projects are bundled user contributions for use with Apache Wicket (https://wicket.apache.org/). They are released in step with Wicket releases to make them easy to use.
340 stars 297 forks source link

Openlayers3: if adding multiple FeatureChangeListeners for different Features only the last one added works. #691

Open tjwde opened 4 years ago

tjwde commented 4 years ago

Openlayers3: if adding multiple FeatureChangeListeners for different Features only the last one added works.

See openlayers3-parent/openlayers3/src/main/java/org/wicketstuff/openlayers3/behavior/FeatureChangeListener.js lines 67 and 82 for the cause of this issue.

tjwde commented 4 years ago

The issue is solved by including "${componentId}${changeHandlerId}" in the method name of "restartTimeout"-method.

solomax commented 4 years ago

Can the issue be closed?

martin-g commented 4 years ago

On Fri, May 15, 2020, 17:40 tjwde notifications@github.com wrote:

The issue is solved by including "${componentId}${changeHandlerId}" in the method name of "restartTimeout"-method.

Please send a Pull Request! Thanks!

You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wicketstuff/core/issues/691#issuecomment-629272633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABYUQRC2HY6NN3VTTRPMPDRRVH6LANCNFSM4NBUAAUA .