[mapguide-users] KmlService

Jim O'Leary joleary.public at gmail.com
Mon Jan 22 20:13:01 EST 2007

I'm trying to create the new KmlService using this code:

$kmlService = $siteConnection->CreateService(MgServiceType::KmlService);


$kmlService = $siteConnection->CreateService(6);

Both fail with the message:

Fatal error: The class MgService (or one of its derived classes) has no
runtime type id in C:\Program...

Yet I look inside of mapviewerphp\constants.php on line 209 and see:

   /// Kml Service
   const KmlService = 6 ;  

If I substitute services 1 thru 5 using either the string or the number, I
get my service. 

I have MapGuide Server and Web Extensions Any suggestions?

View this message in context: http://www.nabble.com/KmlService-tf3061613s16610.html#a8513628
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list