Beispiel #1
0
        protected string GetInverseGeoCode(GLatLng FromPoint, out string addr)
        {
            string streetNumber;
            string streetName;
            string locality;
            string postalCode;
            string _addr = Geocoder.NearestAddressGoogle(FromPoint.ToString(), out streetNumber, out streetName, out locality, out postalCode);

            if (_addr != String.Empty)
            {
                GInfoWindow window = new GInfoWindow(FromPoint, _addr, true);
                addr = _addr;
                return(window.ToString(locationGMap.GMap_Id));
            }
            else
            {
                addr = String.Empty;
            }
            return(string.Empty);
        }