//------------------------------------ public CMapItemPoint(CMapLayer layer) { m_mapLayer = layer; if (layer != null) { layer.AddItem(this); } }
//------------------------------------ public CMapItemPath(CMapLayer layer) { m_mapLayer = layer; if (layer != null) { layer.AddItem(this); } m_nNumero = m_nCompteur++; }