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
The click handler is added to the class, but all handlers before that for previous features will still be called. This leads to sluggishness when a lot of features are selected without a page reload.
Solution is to register the onclick handler at startup which zooms to the feature (not dbkjs.options.feature, this is the JSON object, zoomToFeature() needs the OpenLayers feature to zoom to pand geometry). So save the OpenLayers feature to zoom to in process() function.
The text was updated successfully, but these errors were encountered:
In public/js/dbkjs/protocol/jsonDBK.js, function process():
The click handler is added to the class, but all handlers before that for previous features will still be called. This leads to sluggishness when a lot of features are selected without a page reload.
Solution is to register the onclick handler at startup which zooms to the feature (not dbkjs.options.feature, this is the JSON object, zoomToFeature() needs the OpenLayers feature to zoom to pand geometry). So save the OpenLayers feature to zoom to in process() function.
The text was updated successfully, but these errors were encountered: