After GetBestMapView you need to make a call to actually load image from web
by calling GetMap on renderService.
How to display an image in GUI is out of topic here.
Post by AntonioPost by Derek ChanBy default after running the .msi, you'll find the ImageMap samples
C:\Program Files\Microsoft MapPoint Web Service SDK, Version
4.5\Samples\.NET 2.0\ImageMap
sorry I'm a Newbie.
'Get the best view of two locations
Dim myLocations(1) As net.mappoint.staging.Location
myLocations(0) = New net.mappoint.staging.Location()
myLocations(1) = New net.mappoint.staging.Location()
myLocations(0).LatLong = New net.mappoint.staging.LatLong()
myLocations(1).LatLong = New net.mappoint.staging.LatLong()
myLocations(0).LatLong.Latitude = txtLat1.Text
myLocations(0).LatLong.Longitude = txtLong1.Text
myLocations(1).LatLong.Latitude = txtLat2.Text
myLocations(1).LatLong.Longitude = txtLong2.Text
Dim renderService As New net.mappoint.staging.RenderServiceSoap()
renderService.Credentials = New
System.Net.NetworkCredential("xxxx",
"xxx")
renderService.PreAuthenticate = True
Dim mapRepresentations As
net.mappoint.staging.MapViewRepresentations
mapRepresentations = renderService.GetBestMapView(myLocations,
"MapPoint.EU")
How I can display the map on my desktop application?
Thanks.
Antonio.