Advertisement
Guest User

Untitled

a guest
May 27th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. @Override
  2. public void onScroll(ScrollEvent event) {
  3. BoundingBox bbox = mapView.getBoundingBox();
  4. if (bbox != null) {
  5. osmOverlay.updateBoundingBox(bbox);
  6. }
  7. }
  8.  
  9. @Override
  10. public void onZoom(ZoomEvent event) {
  11. BoundingBox bbox = mapView.getBoundingBox();
  12. if (bbox != null) {
  13. osmOverlay.updateBoundingBox(bbox);
  14. }
  15. }
  16.  
  17. @Override
  18. public void onRotate(RotateEvent event) {
  19. BoundingBox bbox = mapView.getBoundingBox();
  20. if (bbox != null) {
  21. osmOverlay.updateBoundingBox(bbox);
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement