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);
myImage.path("image.png");
myImage.center(0.5,0.25);
myCanvas.draw(myImage);
myCanvas.write("myImage.png");
myCanvas.draw(
om4u.get(Image.class).path("myImage.png").center(0.5,0.25)
).write("myImage.png");;