Type Definitions
-
olx.render.ToContextOptions{Object} experimental
-
Properties:
Name Type Argument Description sizeol.Size | undefined <optional>
Desired size of the canvas in css pixels. When provided, both canvas and css size will be set according to the
pixelRatio. If not provided, the current canvas and css sizes will not be altered.pixelRatiool.Size | undefined <optional>
Pixel ratio (canvas pixel to css pixel ratio) for the canvas. Default is the detected device pixel ratio.
OpenLayers 3