Hi everyone,<br><br>I am having issues with printing while having shapes (polygons, lines or points) drawn on the map. I have narrowed the issue down to a line in print_util.php but I can&#39;t see what the issue is. In the section: &quot;# now add the sketches on top of the map...&quot; around line 214 it enters a for loop where a new Map Object is created using the following line:<br>

<br>$sketch_map = ms_newMapObj(&#39;print/print_shape.map&#39;,$CONFIGURATION[&#39;root&#39;]);<br><br>This seems to not be creating a valid map object because any attempt to call one of the map object methods on $sketch_map fails. The line it fails on in print_util is:<br>

 <br>$sketch_map-&gt;setExtent($extent[0], $extent[1], $extent[2], $extent[3]);<br><br>but I also tried echo $sketch_map-&gt;getNumSymbols(); which fails.<br><br>I have checked to be sure that print_shape.map is in the correct location, and even changed the constructor&#39;s input to use and explicit full path to the file:<br>

<br>$sketch_map = ms_newMapObj(&quot;C:\ms4w\apps\maps.development\htdocs\php\print\print_shape.map&quot;);<br><br>which has also not worked. Does anyone have any expierience with this issue, or know why creating the Map Object with ms_newMapObj would be failing? Any help to debug this would be greatly appreciated!<br>

<br>Thanks,<br>Jeff <br>