code: public Coordinate transform(Coordinate coordinate, String from, String to) {
  		if (from.equalsIgnoreCase(to)) {
  			return coordinate;
  		}
  
  		org.geomajas.geometry.Coordinate transformed;
  		if (SCREEN.equalsIgnoreCase(from) && WORLD.equalsIgnoreCase(to)) {
  			transformed = mapView.getWorldViewTransformer().viewToWorld(coordinate);
  			return new Coordinate(transformed.getX(), transformed.getY());
  		} else if (WORLD.equalsIgnoreCase(from) && SCREEN.equalsIgnoreCase(to)) {
  			transformed = mapView.getWorldViewTransformer().worldToView(coordinate);
  			return new Coordinate(transformed.getX(), transformed.getY());
  		}
  		return coordinate;
  	}
docs: Transform the given coordinate from a certain rendering space to another.
  
  @param coordinate
  The coordinate to transform. The X and Y ordinates are expected to be expressed in the 'from'
  rendering space.
  @param from
  The rendering space that expresses the X and Y ordinates of the given coordinate. Options are:
  <ul>
  <li>screen</li>
  <li>world</li>
  </ul>
  @param to
  The rendering space where to the coordinate should be transformed. Options are:
  <ul>
  <li>screen</li>
  <li>world</li>
  </ul>
  @return The transformed coordinate.