[Cartoweb-dev] Size of map

Yves Jacolin yjacolin at free.fr
Wed Feb 14 08:38:10 EST 2007


Hello Sylvain,

Juste create a image.ini in your client_conf/ with this kind of 
parameter/value :
mapSizesDefault = 1

mapSizes.0.label = small
mapSizes.0.width = 230
mapSizes.0.height = 169

mapSizes.1.label = normal
mapSizes.1.width = 400
mapSizes.1.height = 300

mapSizes.2.label = big
mapSizes.2.width = 800
mapSizes.2.height = 600

More information here (in French) : 
http://cartoweb-community.gloobe.org/doku.php?id=fr:documentation:doc_officiel:version3.2#options_des_formats_d_image

Y.
Le Mercredi 14 Février 2007 14:24, Sylvain Beorchia a écrit :
> Hi,
>
> Is there a way in CW3 to change the size of map dynamicaly ?
> I've tried to add with javascript some choices in the MapSize list, and
> then choose the new choice, but it does not work, 'cause CW uses the INI
> file to pick up the sizes...i guess.
>
> Any help ?
>
> Thanks
>
> Sylvain Beorchia
> Makina Corpus
> _______________________________________________
> Cartoweb-dev mailing list
> Cartoweb-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-dev

-- 
Yves Jacolin
---
http://yjacolin.gloobe.org



More information about the Cartoweb-dev mailing list