.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

using WMS + FDO for map laoding in AUD Modal Space

2 REPLIES 2
Reply
Message 1 of 3
rajeev_j
541 Views, 2 Replies

using WMS + FDO for map laoding in AUD Modal Space

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);

}

}

}

 

2 REPLIES 2
Message 2 of 3
rajeev_j
in reply to: rajeev_j

Is there any help for that query ??
Message 3 of 3
rajeev_j
in reply to: rajeev_j

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost