Select to view content in your preferred language

How to ADD cadastral fabric to Map

874
5
08-06-2013 07:51 PM
FrancisSacdalan
Deactivated User
Good Day,

We have cadastral fabric layer in geodatabase ready but we cannot add it to the map programmatically, Adding using feature layer code doesn't work. Any inputs or snippet is highly appreciated.


Thanks,
0 Kudos
5 Replies
FrancisSacdalan
Deactivated User
Any help is appreaciated, Thanks 🙂
0 Kudos
NeilClemmons
Honored Contributor
Have you tried using the ICadastralFabricLayer interface?
0 Kudos
FrancisSacdalan
Deactivated User
Have you tried using the ICadastralFabricLayer interface?

Thanks for the response Neil,

been trying but still no success, any sniffet or sample will much appreciated Neil.

Thanks very much,
0 Kudos
NeilClemmons
Honored Contributor
I've never used a cadastral fabric but it looks like you would just create a new instance of the CadastralFabricLayer coclass, set the CadastralFabric property to your cadastral fabric, QI over to ILayer and set the Name then call IMap.AddLayer and pass it in.
0 Kudos
FrancisSacdalan
Deactivated User
I've never used a cadastral fabric but it looks like you would just create a new instance of the CadastralFabricLayer coclass, set the CadastralFabric property to your cadastral fabric, QI over to ILayer and set the Name then call IMap.AddLayer and pass it in.


I think I encounter error on how to QI over to ILayer 😞 can you help me out?

Thanks very much.
0 Kudos