MapEventLayer: avoid unnecessary Move events, #76
This commit is contained in:
parent
a8b341763e
commit
c8ff7a9e07
@ -270,8 +270,8 @@ public class MapEventLayer extends Layer implements InputListener, GestureListen
|
||||
mViewport.moveMap(mx, my);
|
||||
mTracker.update(x1, y1, e.getTime());
|
||||
mMap.updateMap(true);
|
||||
mMap.viewport().getMapPosition(mapPosition);
|
||||
mMap.events.fire(Map.MOVE_EVENT, mapPosition);
|
||||
if (mMap.viewport().getMapPosition(mapPosition))
|
||||
mMap.events.fire(Map.MOVE_EVENT, mapPosition);
|
||||
return;
|
||||
}
|
||||
mStartMove = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user