[mapguide-users] KmlService

Jim O'Leary joleary.public at gmail.com
Tue Jan 23 00:49:31 EST 2007


Now I have upgraded to the latest (1.1.0.301), but I still get the error.


Jim O wrote:
> 
> I'm trying to create the new KmlService using this code:
> 
> $kmlService = $siteConnection->CreateService(MgServiceType::KmlService);
> 
> or
> 
> $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 1.1.0.206. Any suggestions?
> 
> Thanks
> 

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



More information about the mapguide-users mailing list