void OnMapViewInitialized(object sender, MapViewInitializedEventArgs e) { var poiItem1 = new MapPOIItem(); poiItem1.ItemName = "POI1"; poiItem1.MapPoint = MAP_POINT_POI1; poiItem1.POIItemMarkerType = MarkerType.BluePin; mapView.AddPOIItem(poiItem1); var poiItem2 = new MapPOIItem(); poiItem2.ItemName = "POI2"; poiItem2.MapPoint = MAP_POINT_POI2; poiItem2.POIItemMarkerType = MarkerType.YellowPin; mapView.AddPOIItem(poiItem2); }
void OnMapViewInitialized(object sender, MapViewInitializedEventArgs e) { mapView.SetMapCenterPointAndZoomLevel(MapPoint.MapPointWithGeoCoord(33.41, 126.52), 9, true); Log.Info(LOG_TAG, "onMapViewInitialized"); }