Пример #1
0
 //------------------------------------
 public CMapItemPoint(CMapLayer layer)
 {
     m_mapLayer = layer;
     if (layer != null)
     {
         layer.AddItem(this);
     }
 }
Пример #2
0
 //------------------------------------
 public CMapItemSimple(
     CMapLayer layer,
     double fLatitude,
     double fLongitude,
     EMapMarkerType type)
     : base(layer, fLatitude, fLongitude)
 {
     m_markerType = type;
 }
Пример #3
0
 //------------------------------------
 public CMapItemImage(
     CMapLayer layer,
     double fLatitude,
     double fLongitude,
     string strImageId)
     : base(layer, fLatitude, fLongitude)
 {
     m_strImageId = strImageId;
 }
Пример #4
0
 //------------------------------------
 public CMapItemPath(CMapLayer layer)
 {
     m_mapLayer = layer;
     if (layer != null)
     {
         layer.AddItem(this);
     }
     m_nNumero = m_nCompteur++;
 }
Пример #5
0
 //------------------------------------
 public CMapItemPoint(
     CMapLayer layer,
     double fLatitude,
     double fLongitude)
     : this( layer )
 {
     m_fLongitude = fLongitude;
     m_fLatitude  = fLatitude;
 }
Пример #6
0
        //---------------------------------------------------------
        public CMapLayer GetLayer(string strLayer, bool bCreate)
        {
            CMapLayer layer = null;

            m_dicLayers.TryGetValue(strLayer.ToUpper(), out layer);
            if (bCreate && layer == null)
            {
                layer = new CMapLayer(this, strLayer.ToUpper());
                m_dicLayers[layer.LayerName] = layer;
            }
            return(layer);
        }
Пример #7
0
 //------------------------------------
 public CMapItemSimple(CMapLayer layer)
     : base(layer)
 {
 }
Пример #8
0
 //------------------------------------
 public CMapItemImage(CMapLayer layer)
     : base(layer)
 {
 }