Class RoutePrinter

This class manages the print of a route

Source : file printRoute/RoutePrinter.js at line 44

Constructor

new RoutePrinter ( )

The constructor

Source : file printRoute/RoutePrinter.js at line 107

Public methods

print ( printRouteMapOptions, routeObjId )

Modify the main page, creating views on the page, so the page can be printed easily

Source : file printRoute/RoutePrinter.js at line 117

Parameters

Name Type Description
printRouteMapOptions PrintRouteMapOptions

The PrintRouteMapOptions returned by the PrintRouteMapDialog

routeObjId Number

The objId of the route to print

Private properties

#tilesPerPage : Number

The number of tiles needed for printing a page

Source : file printRoute/RoutePrinter.js at line 51

Private getters and setters

readonly static get #TILE_SIZE : Number

The tiles dimension in pixel

Source : file printRoute/RoutePrinter.js at line 59

Private methods

#computeMaxViewSize ( printRouteMapOptions )

Compute the view size in lat and lng transforming the dimension given in mm by the user.

Source : file printRoute/RoutePrinter.js at line 66

Parameters

Name Type Description
printRouteMapOptions PrintRouteMapOptions

The print options returned by the PrintRouteMapDialog