There is a bug with this solution:

with IE6, after selecting the radio button, if you click on "+" to see the under-menus, the map will be reloaded for ever... (example today on: http://elections-communales.ch/carto_fr.asp)

best regards,

eb

Emmanuel Belo wrote:
Hi Pierre,

thank you for your answer,

As suggested i added in my layers.tpl in the input tag from my radio button this attribute:

onchange="doSubmit();"

It works great with FireFox 1.5 but with IE6, after selecting the radio button you need to click anywhere in the page so that it will be reloaded... Strange...

regards,

eb

Pierre GIRAUD wrote:
Try to override the switches.tpl template (coreplugin layers) in your project with the included file (doSubmit added)

Regards

Pierre GIRAUD

Emmanuel Belo wrote:

Hello!

does someone know how to do, so that when you select a new layer in the theme menu, the map is automatically reloaded (without the need to click on "refresh" button)?

many thanks,

best regards,

eb

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users



------------------------------------------------------------------------

{t}Switches{/t}



------------------------------------------------------------------------

_______________________________________________
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
begin:vcard
fn:Emmanuel Belo
n:Belo;Emmanuel
org:MicroGIS SA
adr:;;ch. des Jordils 40;St-Sulpice;VD;1025;Switzerland
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ing=C3=A9nieur en g=C3=A9omatique
tel;work:+41 21 691 77 17
tel;fax:+41 21 691 77 86
x-mozilla-html:FALSE
url:http://www.microgis.ch
version:2.1
end:vcard

_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to