Permalink
Browse files

Fixed bug preventing adding two layers with the same name from differ…

…ent services hosted by the same ArcIMS server.
  • Loading branch information...
1 parent cc32241 commit 9cf151c49518842149564c351ca9bbcff898dd3b chris committed Jun 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 Dapple/LayerGeneration/ArcIMSQuadLayerBuilder.cs
@@ -323,7 +323,7 @@ public override bool Equals(object obj)
ArcIMSQuadLayerBuilder castObj = obj as ArcIMSQuadLayerBuilder;
// -- Equal if they're the same service from the same server --
- return m_oServerUri.Equals(castObj.m_oServerUri) && m_szTreeNodeText.Equals(castObj.m_szTreeNodeText);
+ return m_oServerUri.Equals(castObj.m_oServerUri) && m_szServiceName.Equals(castObj.m_szServiceName) && m_szLayerID.Equals(castObj.m_szLayerID);
}
public override int GetHashCode()

0 comments on commit 9cf151c

Please sign in to comment.