code: private void updateVertex(Shape shape, GeometryEditService editService, GeometryIndex index)
  			throws GeometryIndexNotFoundException {
  		if (shape instanceof Rectangle) {
  			Rectangle rectangle = (Rectangle) shape;
  			Geometry geometry = editService.getGeometry();
  			Coordinate v = editService.getIndexService().getVertex(geometry, index);
  			if (!targetSpace.equals(RenderSpace.WORLD)) {
  				v = mapPresenter.getViewPort().getTransformationService().transform(v, RenderSpace.WORLD, targetSpace);
  			}
  			rectangle.setUserX(v.getX() - VERTEX_HALF_SIZE);
  			rectangle.setUserY(v.getY() - VERTEX_HALF_SIZE);
  		}
  	}
docs: ------------------------------------------------------------------------