The category name is used as part of an element Id, so spaces are not 
possible (I guess also not in newer versions of p.mapper). But you just 
have to define the category like

   $categories['cat_baseoverlay'] = array("interstates","city_names");

and define in the incphp/locale/language_en.php file

   $_sl["cat_baseoverlay"] = "Base Map Overlay";

armin

Brian May wrote:
> If I define a category name for the legend with a space in it, I get an 
> error "TypeError: elem has no properties". And that category will not 
> display / behave properly in the legend.
> 
> Example: $categories['Base Map Overlay'] = 
> array("interstates","city_names");
> 
> If I define the name as BaseMapOverlay it works fine. I would like to be 
> able to use spaces in the category name.
> 
> Using ms4w 2.2.1 on windows.
> 
> Thanks,
> 
> Brian
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to