Пример #1
0
        public string GetAllDataInPlusCode(string plusCode)
        {
            if (!DataCheck.IsInBounds(cache.Get <IPreparedGeometry>("serverBounds"), OpenLocationCode.DecodeValid(plusCode)))
            {
                return("");
            }
            var           data = GenericData.GetAllDataInArea(plusCode);
            StringBuilder sb   = new StringBuilder();

            foreach (var d in data)
            {
                sb.Append(d.plusCode).Append("|").Append(d.key).Append("|").AppendLine(d.value);
            }

            return(sb.ToString());
        }