You're right, Manu.
You may also comment out the matching parameters in the upstream config
(cartoweb3/client_conf/images.ini). Which is the case in CW 3.2.0.
Emmanuel Belo wrote:
To kill the two last mapSizes, you should add an empty mapSize like this:
mapSizesActive = true
mapSizesDefault = 0
mapSizes.0.label = 400x300
mapSizes.0.width = 400
mapSizes.0.height = 300
mapSizes.1.label = 800x600
mapSizes.1.width = 800
mapSizes.1.height = 600
mapSizes.2.label =
mapSizes.2.width =
mapSizes.2.height =
big and giant disappear,
best regards,
eb
Emmanuel Belo wrote:
Thank you Frédéric,
i've done as suggested and now, the menu has:
- 400 x 300
- 800 x 600
- big
- giant
that isn't much better ,-)
eb
Frédéric Junod wrote:
Hi,
Try to add a label to the mapSizes:
mapSizesActive = true
mapSizesDefault = 0
mapSizes.0.label = 400x300
mapSizes.0.width = 400
mapSizes.0.height = 300
mapSizes.1.label = 800x600
mapSizes.1.width = 800
mapSizes.1.height = 600
Hope that helps ...
Fréd
Le vendredi 24 février 2006 à 11:20 +0100, Emmanuel Belo a écrit :
Hi,
as written in the documentation
(http://www.cartoweb.org/doc_head/docbook/xhtml/user.images.html), i
wrote these lines in my projects/<myMap>/client_conf/images.ini
mapSizesActive = true
mapSizesDefault = 0
mapSizes.0.width = 400
mapSizes.0.height = 300
mapSizes.1.width = 800
mapSizes.1.height = 600
these 2 sizes don't appear and i still have the 4 default mapSizes
in my browser(small, normal, big, giant).
If i set the mapSizesActive to false, then the menu disappear -> i
think that i'm modifying the right file, reinstalling the ini files
and cleaning the cache ok,
Do you know where the problem is?
Best regards,
Emmanuel Belo
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users