Sub MapFragment1_Click (Point1 As LatLng)
pointa.Initialize(Point1.Latitude, Point1.Longitude)
points.Add(pointa)
GoogleMap1.AddMarker(Point1.Latitude, Point1.Longitude, "("&Point1.Latitude&", "&Point1.Longitude&")")
pointb.Initialize(GoogleMap1.MyLocation.Latitude, GoogleMap1.MyLocation.Longitude)
points.Add(pointb)
GoogleMap1.AddMarker(Point1.Latitude, Point1.Longitude, "("&Point1.Latitude&", "&Point1.Longitude&")")
lat1=pointa.Latitude
lon1=pointa.Longitude
lat2=pointb.Latitude
lon2=pointb.Longitude
End Sub