** Is a particular layer or group on, that is was it requested explicitly by the user. */
| 317 | ** Is a particular layer or group on, that is was it requested explicitly by the user. |
| 318 | */ |
| 319 | int isOn(mapservObj *mapserv, char *name, char *group) |
| 320 | { |
| 321 | int i; |
| 322 | |
| 323 | for(i=0;i<mapserv->NumLayers;i++) { |
| 324 | if(name && strcmp(mapserv->Layers[i], name) == 0) return(MS_TRUE); |
| 325 | if(group && strcmp(mapserv->Layers[i], group) == 0) return(MS_TRUE); |
| 326 | } |
| 327 | |
| 328 | return(MS_FALSE); |
| 329 | } |
| 330 | |
| 331 | /************************************************************************/ |
| 332 | /* int sortLayerByOrder(mapObj *map, char* pszOrder) */ |
no outgoing calls
no test coverage detected