Пример #1
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Set the listener for geocoding query.
  * @param geocodingListener callback when query is done and in progress
  */
 public void SetIpAddressGeocodingListener(IIpAddressGeocodingListener
         geocodingListener)
 {
     _digitalMapService.SetIpAddressGeocodingListener(geocodingListener);
 }
Пример #2
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 20JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Set the listener for geocoding query.
         * @param geocodingListener callback when query is done and in progress
         *
         */
        public void SetIpAddressGeocodingListener(IIpAddressGeocodingListener geocodingListener)
        {
            _ipAddressGeocodingListener = geocodingListener;
        }
Пример #3
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 20JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Sends a request to Google servers to geocode the specified address
  * @param ipAddress  address to query
  * @param listener callback when query is done.
  */
 public void GetLocations(string ipAddress, IIpAddressGeocodingListener listener)
 {
     _listener = listener;
     _searchAddress = ipAddress;
     Request.Get(SEARCH_BASE, null, null, _addressQuery, this);
 }
Пример #4
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 20JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Sends a request to Google servers to geocode the specified address
         * @param ipAddress  address to query
         * @param listener callback when query is done.
         */
        public void GetLocations(string ipAddress, IIpAddressGeocodingListener listener)
        {
            _listener      = listener;
            _searchAddress = ipAddress;
            Request.Get(SEARCH_BASE, null, null, _addressQuery, this);
        }
Пример #5
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 20JUN2009  James Shen                 	          Initial Creation
        ////////////////////////////////////////////////////////////////////////////
        /**
         * Set the listener for geocoding query.
         * @param geocodingListener callback when query is done and in progress

         */
        public void SetIpAddressGeocodingListener(IIpAddressGeocodingListener geocodingListener)
        {
            _ipAddressGeocodingListener = geocodingListener;
        }
Пример #6
0
        ////////////////////////////////////////////////////////////////////////////
        //--------------------------------- REVISIONS ------------------------------
        // Date       Name                 Tracking #         Description
        // ---------  -------------------  -------------      ----------------------
        // 18JUN2009  James Shen                              Initial Creation
        ////////////////////////////////////////////////////////////////////////////

        /**
         * Set the listener for geocoding query.
         * @param geocodingListener callback when query is done and in progress
         */
        public void SetIpAddressGeocodingListener(IIpAddressGeocodingListener
                                                  geocodingListener)
        {
            _digitalMapService.SetIpAddressGeocodingListener(geocodingListener);
        }