Skip to content

Commit

Permalink
Merge branch 'imagery_align_regression'
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Jan 28, 2025
2 parents 7d93fcf + 5872a13 commit 719cd5f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
switch (item.getItemId()) {
case MENUITEM_ZERO:
osmts.setOffset(map.getZoomLevel(), 0.0d, 0.0d);
final int zoomLevel = map.getZoomLevel();
osmts.setOffset(zoomLevel, 0.0d, 0.0d);
setOffset(zoomLevel, 0f, 0f);
map.invalidate();
break;
case MENUITEM_RESET:
Expand Down

0 comments on commit 719cd5f

Please sign in to comment.