[mapguide-users] Having problem in adding a layer to the map permanently

chandany5 chandany5 at gmail.com
Mon Aug 3 01:41:29 EDT 2009


Hi James,
Thank you for your quick reply. Can you tell me what is the purpose of using
the following code?
       
   
  if ($gotBBox)
     {
       $MinXNode            = $doc->getElementsByTagName('MinX')->item(0);
       $MinXNode->nodeValue = $BldgMinX;
       $MinYNode            = $doc->getElementsByTagName('MinY')->item(0);
       $MinYNode->nodeValue = $BldgMinY;
       $MaxXNode            = $doc->getElementsByTagName('MaxX')->item(0);
       $MaxXNode->nodeValue = $BldgMaxX;
       $MaxYNode            = $doc->getElementsByTagName('MaxY')->item(0);
       $MaxYNode->nodeValue = $BldgMaxY;
     } else {
       echo '<pre class="error">Unable to retrieve a valid bounding box for  
the map. Please report this to the system administrator.</pre>';
     }
     


-- 
View this message in context: http://n2.nabble.com/Having-problem-in-adding-a-layer-to-the-map-permanently-tp3361903p3375992.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list