/// <summary> /// Loads the meta data from the XML. /// </summary> /// <param name="item">Object that contains meta description.</param> public void LoadMeta(OnlineMapsOSMBase item) { foreach (OnlineMapsOSMTag itemTag in item.tags) { AddMetaInfo(itemTag.key, itemTag.value); } }
public bool Equals(OnlineMapsOSMBase other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(id == other.id); }
/// <summary> /// Loads the meta data from the XML. /// </summary> /// <param name="item">Object that contains meta description.</param> public void LoadMeta(OnlineMapsOSMBase item) { metaInfo = new MetaInfo[item.tags.Count]; for (int i = 0; i < item.tags.Count; i++) { OnlineMapsOSMTag tag = item.tags[i]; metaInfo[i] = new MetaInfo() { info = tag.value, title = tag.key }; } }
/// <summary> /// Loads the meta data from the XML. /// </summary> /// <param name="item">Object that contains meta description.</param> public void LoadMeta(OnlineMapsOSMBase item) { foreach (OnlineMapsOSMTag itemTag in item.tags) AddMetaInfo(itemTag.key, itemTag.value); }
public bool Equals(OnlineMapsOSMBase other) { if (ReferenceEquals(other, null)) return false; if (ReferenceEquals(this, other)) return true; return id == other.id; }