aratcliffe / Leaflet.print

Plugin for printing a Leaflet map using either Mapfish or the GeoServer print module.
114 stars 40 forks source link

Specifying Scale #3

Closed riostevenson closed 10 years ago

riostevenson commented 10 years ago

There seems to be no way to specify scale. If I'm wrong please let me know how.

Thank you.

aratcliffe commented 10 years ago

The scales available are restricted to those that mapfish print is configured for (http://www.mapfish.org/doc/print/configuration.html). The print provider calculates the closest scale to that which the onscreen map is shown at and specifies that in the json spec. There is currently no way to specify an arbitrary scale.

riostevenson commented 10 years ago

Thanks that really helped.