aratcliffe / Leaflet.print

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

sample program not printing #16

Closed phonebooks closed 8 years ago

phonebooks commented 9 years ago

Forgive me I am new to this system --

when I run the program below is gives me this error ... do I have to install map-fish print just to try this out ?? is there a different way ??

ReferenceError: printConfig is not defined

The code is below - any help would be truly appreciated !!

<!doctype html>

Leaflet Printing
aratcliffe commented 9 years ago

Yes this requires an installation of mapfish.

phonebooks commented 9 years ago

Thank you -- is there a nice clear concise document for installing it ?? I am installing on OS X -- I tried the document at mapfish,com to install but I get can not find symbol errors

aratcliffe commented 9 years ago

Hi, we install the mapfish print servlet under Tomcat. From memory you should be able to install by downloading the WAR file and deploying to your server's webapps directory. Take a look at the Java Servlet instructions on this page.