예제 #1
0
 ////////////////////////////////////////////////////////////////////////////
 //--------------------------------- REVISIONS ------------------------------
 // Date       Name                 Tracking #         Description
 // ---------  -------------------  -------------      ----------------------
 // 18JUN2009  James Shen                 	          Initial Creation
 ////////////////////////////////////////////////////////////////////////////
 /**
  * Copy constructor.
  * @param mapPoint     map object copy from.
  */
 public MapPoint(MapPoint mapPoint)
     : base(mapPoint)
 {
     SetMapObjectType(POINT);
     SymbolType = new MapSymbol(mapPoint.SymbolType);
     Point = new GeoLatLng(mapPoint.Point);
 }
예제 #2
0
 public void done(string query, MapPoint[] result)
 {
     if (result != null)
     {
         _rasterMap.SetCenter(result[0].Point, 15, _rasterMap.GetMapType());
     }else
     {
         UpdateStatus("Address not found!");
     }
 }