예제 #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)
 {
 }