[Google Maps API v3] Re: Using HTML Checkboxes to toggle polylines on and off

2010-08-04 Thread Kesuke
I haven't tested this and am not very experienced with polylines, but one method might be to change their opacity to 0 when you want to hide them. As for checkboxs (I think OP means inside the same page - but outside the map div) thats simple HTML/Javascript. Add a checkbox input type, and give it

[Google Maps API v3] Re: Using HTML Checkboxes to toggle polylines on and off

2010-08-04 Thread Kesuke
I haven't tested this and am not very experienced with polylines, but one method might be to change their opacity to 0 when you want to hide them. As for checkboxs (I think OP means inside the same page - but outside the map div) thats simple HTML/Javascript. Add a checkbox input type, and give it

[Google Maps API v3] Re: Using HTML Checkboxes to toggle polylines on and off

2010-08-03 Thread Dmitry Mishchenko
Hi, you mean something like from different ifame? It is possible, just make sure that map reference is available on the page where your checkboxes are. Inside your checkboxes click event toggle your polylines using that reference and somekind of polyline's id. I think there were some redlining exa