Hamad,
First, want to let you know Desktop edition support GoogleMap intrinsically. You can connect to google and get the google earth image on the fly, do not need to get the data yourself and integrated with your map manually. Here are some codes how to use google map in desktop edition.
GoogleMapsLayer gLayer = new GoogleMapsLayer(googleMapURL);
gLayer.Name = "GoogleMapsLayer";
gLayer.MapType = GoogleMapsMapType.Hybrid;
gLayer.PictureFormat = GoogleMapsPictureFormat.Jpeg;
Map1.StaticOverlay.Layers.Add("GoogleMapsLayer", gLayer);
As Google Map has there own projection, usually you need to convert data from other projection (like decimal degrees) to google’s projection. Codes would be like this
Proj4Projection proj4 = new Proj4Projection();
// Decimal degree has the epsg number 4326
proj4.InternalProjectionParametersString = Proj4Projection.GetEpsgParametersString(4326);
proj4.ExternalProjectionParametersString = Proj4Projection.GetGoogleMapParametersString();
shapeFileFeatureLayer.FeatureSource.Projection = proj4;
Sure you can also download the google earth image to local machine and integrated it with map using raster layer. Here are some questions for that.
1, what type is that google earth data? Does it have a world file, what is it.
2, I think you want to show the google earth image as the background and put your data on top of it. So what’s your data? Is that vector data? And what is the projection of that?
Let us know that and we can provide better help. :-)
Thanks,
Ben