/// <summary> /// Generates a geo location payload. Supports raw location (GEO encoding) or Google Maps link (GoogleMaps encoding) /// </summary> /// <param name="latitude">Latitude with . as splitter</param> /// <param name="longitude">Longitude with . as splitter</param> /// <param name="encoding">Encoding type - GEO or GoogleMaps</param> public Geolocation(string latitude, string longitude, GeolocationEncoding encoding = GeolocationEncoding.GEO) { this.latitude = latitude.Replace(",", "."); this.longitude = longitude.Replace(",", "."); this.encoding = encoding; }
public Geolocation(string latitude, string longitude, GeolocationEncoding encoding = GeolocationEncoding.GEO) { this.latitude = latitude.Replace(",","."); this.longitude = longitude.Replace(",", "."); this.encoding = encoding; }