openlayers-3 Draw the different types of geometry