/// <summary> /// Update any properties from the property map. /// </summary> /// public void UpdateProperties() { if (_network.Properties.ContainsKey(BasicNetwork.TagLimit)) { _connectionLimit = _network .GetPropertyDouble(BasicNetwork.TagLimit); _connectionLimited = true; } else { _connectionLimited = false; _connectionLimit = 0; } if (_flat != null) { _flat.ConnectionLimit = _connectionLimit; } }