[GIS] How print map in ol3 with top resolution

openlayersprinting

I'm developing a GIS app using OpenLayers-3. In this app, users draw features and print the map.

Suppose the user draws his features in a large area. Now to print all his features, he would zoom out until all his features are in the screen. In this zoom level, quality of print will be very low.

I want the user to set a zoom level and then print all features in this zoom level. In this state, it's possible some features will not be visible. Finally the result should be a high quality image, with resolution greater than screen resolution.

How can I Implement that?

Best Answer

You can change the resolution of the displayed tiles. Documentation can be found on the API page of the OpenLayers website. The max resolution will depend on the source. This link will direct you to the tile resolution settings.

Related Question