Map Pan Events Fire Incorrectly
Bug #966741 reported by
Russ Adams
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Asgard |
Fix Committed
|
High
|
Russ Adams |
Bug Description
Map Pan Events are supposed to fire when an MO crosses within the margin of the screen (currently hardcoded to 10% of the screen height and width). The current code does so, but only when the Top Left Corner of the MO crosses into a margin.
This behavior is correct for the Top and Left margins, but the Right and Bottom margins do not trigger Map Pan events until the CMO is practically off the screen.
Related branches
To post a comment you must log in.
Fixed. The MapObject::getTop, getBottom, getLeft and getRight enable the threshold check to only fire when the appropriate edge of the MapObject has crossed the current Map Pan Threshold.