Map properties are not working

3331
0
09-29-2014 01:36 AM
SreerajanParamanandham1
New Contributor II

Dear Friends,

I am adding the maps using the below code, the maps are adding in TOC but the map properties,and remove events are not working. please help me.

 

IMxDocument oMxdoc = (IMxDocument)m_application.Document;

IMap oMap = new MapClass();

oMxdoc.Maps.Add(oMap);

oMap.Name = "Testing";

oMxdoc.UpdateContents();

oMxdoc.ActiveView.Refresh();

 

 

Regards

Sreerajan P

Tags (2)
0 Kudos
0 Replies