[Cartoweb-dev] Size of map

Sylvain Beorchia sylvain.beorchia at makina-corpus.com
Wed Feb 14 08:46:17 EST 2007


Hi Yves,

yes, i've done that. But i'd like to be able to add some choices while
CW is running, or apply a size while CW is running. I want to make the
MAP fitting the browser dimensions.

See what i mean ?

Thanks.

Sylvain B.
Makina Corpus



Yves Jacolin a écrit :
> 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
> 



More information about the Cartoweb-dev mailing list