//------------------------------------ public CMapItemPoint(CMapLayer layer) { m_mapLayer = layer; if (layer != null) { layer.AddItem(this); } }
//------------------------------------ public CMapItemSimple( CMapLayer layer, double fLatitude, double fLongitude, EMapMarkerType type) : base(layer, fLatitude, fLongitude) { m_markerType = type; }
//------------------------------------ public CMapItemImage( CMapLayer layer, double fLatitude, double fLongitude, string strImageId) : base(layer, fLatitude, fLongitude) { m_strImageId = strImageId; }
//------------------------------------ public CMapItemPath(CMapLayer layer) { m_mapLayer = layer; if (layer != null) { layer.AddItem(this); } m_nNumero = m_nCompteur++; }
//------------------------------------ public CMapItemPoint( CMapLayer layer, double fLatitude, double fLongitude) : this( layer ) { m_fLongitude = fLongitude; m_fLatitude = fLatitude; }
//--------------------------------------------------------- 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); }
//------------------------------------ public CMapItemSimple(CMapLayer layer) : base(layer) { }
//------------------------------------ public CMapItemImage(CMapLayer layer) : base(layer) { }