using WMS + FDO for map laoding in AUD Modal Space

using WMS + FDO for map laoding in AUD Modal Space

Anonymous
Not applicable
851 Views
2 Replies
Message 1 of 3

using WMS + FDO for map laoding in AUD Modal Space

Anonymous
Not applicable

Hi ,

 

My project requires to WMS service for loading MAP in AUD Modal space by using FDO.I am able to connect to WMS service but don't able to show it in modal space.

 

I am using below for connect with WMS service.Please help how to show the map in AUD modal space.

 

 

publicvoidOpenWMSConnection()

{

IConnectionManager manager = FeatureAccessManager.GetConnectionManager();

 

using (IConnection connection = manager.CreateConnection("OSGeo.WMS.3.3"))

 

{

// Get the property dictionary for the connection

IConnectionPropertyDictionaryprops =connection.ConnectionInfo.ConnectionProperties;

props.SetProperty("FeatureServer", "*******");

props.SetProperty("Username", "*****");

props.SetProperty("Password", "*****");

props.SetProperty("DefaultImageHeight", "******");

 try

{

OSGeo.FDO.Connections.

ConnectionStateconnState = connection.Open();

 

if (connState != OSGeo.FDO.Connections.ConnectionState.ConnectionState_Open)

 {

MessageBox.Show("Connect to the feature source");

 

//// need to write some code to laod map in AUD modal space ( please help )

 

}

}

catch (OSGeo.FDO.Common.Exceptionex)

{

MessageBox.Show(ex.StackTrace);

}

}

}

 

0 Likes
852 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Is there any help for that query ??
0 Likes
Message 3 of 3

Anonymous
Not applicable

Any body can tell how to render WMS  to Autodesk modal space ?

0 Likes