Exemplo n.º 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);
 }
Exemplo n.º 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;
        }
Exemplo n.º 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);
 }
Exemplo n.º 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);
        }
Exemplo n.º 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;
        }
Exemplo n.º 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);
        }