Re[mapguide-users] dlining error

Marius_360 marius at openspatial.co.za
Fri Jul 18 07:55:24 EDT 2008


I am using JavaScript :
var featureService =
siteConnection.CreateService(MgServiceType.FeatureService);

featureService.CreateFeatureSource(resourceIdentifier, sdfParams);



Kenneth Skovhede, GEOGRAF A/S wrote:
> 
> How do you construct the featureService variable?
> 
> You should do something like:
> 
> Dim featureService as MgFeatureService  = 
> connection.CreateService(MgServiceType.FeatureService)
> featureService.CreateFeatureSource(...., ....)
> 
> 
> Regards, Kenneth Skovhede, GEOGRAF A/S
> 
> 
> 
> Marius_360 skrev:
>> Hi
>>
>> I need to develop a redlining application for a client using VB.Net and
>> JavaScript.
>> I converted the demo code available, but get stuck with the
>> “featureService.CreateFeatureSource” command, it gives me a “Objects of
>> type
>> 'OSGeo.MapGuide.MgService' do not have such a member” error
>>
>> Marius
>>   
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Redlining-error-tp18524267p18527660.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list