[ka-Map-users] How can I hide the map once I've created it?

Paul Spencer pspencer at dmsolutions.ca
Tue Oct 11 12:17:50 EDT 2005


another little gotcha.  use display:none and visibility:hidden when  
hiding ... and display:block visibility:visible when showing ...

On 11-Oct-05, at 12:08 PM, Clark Endrizzi wrote:

> I basically use some javascript tabs that hide and unhide divs  
> based on the tab that's open.  One of the tabs has a KaMap on it  
> and it's working nice but when I go to another tab it doesn't hide  
> the map.  I've put a timeout and tried to hide the div (to make  
> sure it's not my tab stuff) with the same results.  Not exactly how  
> KaMaps works but it's clear that it doesn't just hide with the  
> parent div like most things will.  Is there a way to hide the map  
> through some functions?  I've tried the hidelayers function but  
> that's looks like it's meant for something else.
>
> Thanks,
> -- 
> -Clark Endrizzi
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list