printer

webmapping. printer

webmapping printer

Source:

Methods

(static) baseLayers() → {object}

Reference values for print base layers (ie: 'GOOGLE_SATELLITE', 'GOOGLE_STREET', 'VICMAP_SATELLITE', 'VICMAP_STREET)

Source:
Returns:

Supported base layers for print

Type
object

(static) print(farmdatanon-null, extentnon-null, baseMapnon-null, titlenon-null, showPaddocksLabelnon-null, includePaddocksTablenon-null) → {extent}

Make a request for map print .

Parameters:
Name Type Description
farmdata Object

farmdata which includes farm and paddocks information

extent ol.Extent

extent of the map to be printed

baseMap baseMap

base map identifier (ie: 'GOOGLE_SATELLITE', 'VICMAP_SATELLITE').
Use "webmapping.printer.baseLayers" for reference values!

title String

report title

showPaddocksLabel Boolean

indicates whether to show paddock labels on the map

includePaddocksTable Boolean

indicates whether to print paddocks information in a tabular format

Source:
Returns:

a url that you can download you printed map from

Type
extent