How to draw an image

Obtain an image primitive (with the configured default style).
OpenMap4u om4u = new OpenMap4u();
...
SetAreaOfInterestOrDrawOrWriteable myCanvas =  om4u.getCanvas(4, 1);
...
Image myImage = om4u.get(Image.class);
Set the image to draw
myImage.path("image.png");
Set the position where to draw
myImage.center(0.5,0.25);
And last but not least draw it
myCanvas.draw(myImage);
Write the result:
myCanvas.write("myImage.png");
Which results in the following output.
the result
But wait you can do it much faster and simpler with the fluent builder pattern
myCanvas.draw(
    om4u.get(Image.class).path("myImage.png").center(0.5,0.25)
  ).write("myImage.png");;