Hi,
That worked. Thanks. Quick question. On clicking print, the map fails to
fully fit on the page/view. Any properties to change? Including the template
of the pdf? The map area fails to fit on the viewer? Any pointers on how to
solve this?

2011/4/12 Simone Dalmasso <[email protected]>

> Hi,
> I had the same issue and I solved by editing the
> geoserver-data/printing/config.yaml file and adding the !dnsMatch rule like
> follows:
>
>  hosts:
>   - !localMatch
>     dummy: true
>   - !dnsMatch
>     host: tile.openstreetmap.org
>
> Hope this helps.
>
> Simone
>
> 2011/4/12 Jude Mwenda <[email protected]>
>
>> Hi,
>> I am having issues printing maps with OSM as the base layer. I get the
>> error depicted below. On searching this issue it seems there is something i
>> am doing wrong. Any pointers on how to solve this? Thanks
>>
>> org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an
>> invalid value:
>>
>>
>>
>
>
> --
> Simone Dalmasso, Ing.
> ITHACA
> Information Technology for Humanitarian Assistance, Cooperation and Action
> www.ithacaweb.org
> Via Pier Carlo Boggio 61 - 10138 Torino
> Tel: +39.011.1975.1860
>

Reply via email to