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

Function mapObj_new

mapscript/php/mapscript_i.c:47–53  ·  view source on GitHub ↗

* class extensions for mapObj **********************************************************************/

Source from the content-addressed store, hash-verified

45 * class extensions for mapObj
46 **********************************************************************/
47mapObj *mapObj_new(char *filename, char *new_path) {
48 if(filename && strlen(filename))
49 return msLoadMap(filename, new_path);
50 else { /* create an empty map, no layers etc... */
51 return msNewMapObj();
52 }
53}
54
55mapObj *mapObj_newFromString(char *map_text, char *new_path) {
56

Callers 2

php_mapscript.cFile · 0.85
map.cFile · 0.85

Calls 1

msNewMapObjFunction · 0.85

Tested by

no test coverage detected