This question already has an answer here:
I read couple of threads before posting this question unfortunately I could not find the suitable answers for my question .
So here is my code snippet
Basically upon changing the categories I am trying to render the map I am getting the data from a xml file .
But I am getting the error "Uncaught TypeError: Cannot read property 'offsetWidth' of null" and my map is not getting load .
My example is exactly same as "http://www.wolfpil.de/v3/toggle-cats.html"
I don't know what might I am doing wrong here .
Please help me out .