mrmap-community / Mapbender2.8

Other
4 stars 1 forks source link

chrome/edge browser - scroll to iframe top after some click events in mapviewer #151

Closed karlbrink closed 1 month ago

karlbrink commented 4 months ago

WFSconf

clicking on a wfsConf-entry leads to browser scroll until top of mapviewer iframe

solutions for:

../plugins/wfsConfTree.js ../plugins/wfsConfTree_multi.js ../plugins/wfsConfTree_single.js

$wfsconfEntry.find("a.dialogopen").click((function(wfsConf){
  return function(){

    [code...]

    event.preventDefault();
    return false;
  };
})(aWFSConf[i]));

digitize zootofeature

clicking on feature text (zoom to feature and highlight) leads to browser scroll until top of mapviewer iframe