MCPcopy Index your code
hub / github.com/MapServer/MapServer / isOn

Function isOn

maptemplate.c:319–329  ·  view source on GitHub ↗

** Is a particular layer or group on, that is was it requested explicitly by the user. */

Source from the content-addressed store, hash-verified

317** Is a particular layer or group on, that is was it requested explicitly by the user.
318*/
319int 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) */

Callers 2

mainFunction · 0.85
processLineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected