code: private void setPosition() {
  		switch (getAlignment()) {
  			case LEFT:
  				canvas.setLeft(getHorizontalOffset());
  				break;
  			case RIGHT:
  				canvas.setLeft(mapWidget.getVectorContext().getWidth() - getWidth() - getHorizontalOffset());
  				break;
  		}
  		switch (getVerticalAlignment()) {
  			case TOP:
  				canvas.setTop(getVerticalOffset());
  				break;
  			case BOTTOM:
  				canvas.setTop(mapWidget.getVectorContext().getHeight() - getHeight() - getVerticalOffset());
  				break;
  		}
  	}
docs: /* private method