[Users] "TypeError: scale is undefined" from PrintPage

Alexandre Dubé adube at mapgears.com
Wed Jul 3 18:27:58 CEST 2013


Hi Luís,

   I'm sorry for the confusion. What I meant is the json capabilities 
that you use, the one returned by your http://localhost:8080/print2.0 
service, one that looks like this (example):
     (live url) http://dev8.mapgears.com/wsgi/print/info.json
     (a copy in pastebin) http://pastebin.com/8wcjZ1K2

Regards,

Alexandre


On 13-07-03 11:30 AM, Luís de Sousa wrote:
> Hi again, it is the default MapFish config file, goes below.
>
> Thanks,
>
> Luís
>
> #===========================================================================
> # allowed DPIs
> #===========================================================================
> dpis:
>   - 254
>   - 190
>   - 127
>   - 56
>
> #===========================================================================
> # allowed Formats
> #===========================================================================
> # '*' means any formats
> formats: ['*']
>
> #===========================================================================
> # the allowed scales
> #===========================================================================
> scales:
>   - 25000
>   - 50000
>   - 100000
>   - 200000
>   - 500000
>   - 1000000
>   - 2000000
>   - 4000000
>   - 8000000
>   - 16000000
>   - 32000000
>   - 64000000
>
> #===========================================================================
> # the list of allowed hosts
> #===========================================================================
> hosts:
>   - !localMatch
>     dummy: true
>   - !ipMatch
>     ip: www.camptocamp.org <http://www.camptocamp.org>
>   - !dnsMatch
>     host: labs.metacarta.com <http://labs.metacarta.com>
>     port: 80
>   - !dnsMatch
>     host: demo.mapfish.org <http://demo.mapfish.org>
>     port: 80
>
> # the default fileName for the files downloaded from the servlet
> outputFilename: MapFish_PrintOut
>
>
> On 3 July 2013 17:18, Alexandre Dubé <adube at mapgears.com 
> <mailto:adube at mapgears.com>> wrote:
>
>     Hi Luís,
>
>       What does your json config look like ?
>
>     Alexandre
>
>


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130703/3f3223c1/attachment.htm 


More information about the Users mailing list