void ShowNearbyPoi_OnPoiSelected(object sender, ShowNearbyPoi.PoiEventArgs e) { Vertex poi = e.SelectedPoi; // ShowNearbyPoi.SelectedVertexPOI; AbsoluteLocation absLoc = poi.AbsoluteLocations.First(); JSInterface.centerAt(webBrowserOffline, (double)absLoc.latitude, (double)absLoc.longitude); }
void ShowNearbyPoi_OnPoiSelected(object sender, ShowNearbyPoi.PoiEventArgs e) { Vertex poi = e.SelectedPoi; // ShowNearbyPoi.SelectedVertexPOI; AbsoluteLocation absLoc = poi.AbsoluteLocations.First(); graphMap.Center = new GeoCoordinate((double)absLoc.latitude, (double)absLoc.longitude); }
void ShowNearbyPoi_OnPoiSelected(object sender, ShowNearbyPoi.PoiEventArgs e) { Vertex poi = e.SelectedPoi; AbsoluteLocation absLoc = poi.AbsoluteLocations.First(); mWebMapCommon.UI_CenterAt((double)absLoc.latitude, (double)absLoc.longitude); //JSInterface.centerAt(webBrowserOnline, (double)absLoc.latitude, (double)absLoc.longitude); }