Exemple #1
0
        public bool Remove(LatLngPoint item)
        {
            if (item is null)
            {
                throw new ArgumentNullException(nameof(item));
            }

            return(Remove(item.ToString(CultureInfo.InvariantCulture)));
        }
Exemple #2
0
        public void Add(LatLngPoint item)
        {
            if (item is null)
            {
                throw new ArgumentNullException(nameof(item));
            }

            Points.Add(item.ToString(CultureInfo.InvariantCulture));
        }
Exemple #3
0
 public Marker(LatLngPoint center, MarkerStyle style = default)
     : this(center?.ToString(CultureInfo.InvariantCulture) ?? throw new ArgumentNullException(nameof(center)), style)
 {
 }