Пример #1
0
 void _mapView_MapTouched(OsmSharp.UI.IMapView mapView, float newZoom, Units.Angle.Degree newTilt, GeoCoordinate newCenter)
 {
     OsmSharp.Logging.Log.TraceEvent("MainActivity", Logging.TraceEventType.Information, "MapTouched");
 }
Пример #2
0
 void _mapView_MapInitialized(OsmSharp.UI.IMapView mapView, float newZoom, Units.Angle.Degree newTilt, GeoCoordinate newCenter)
 {
     _centerMarker.MoveWithMap = false;
 }
Пример #3
0
 /// <summary>
 /// Called when the map was first initialized.
 /// </summary>
 /// <param name="mapView">Map view.</param>
 /// <param name="newZoom">New zoom.</param>
 /// <param name="newTilt">New tilt.</param>
 /// <param name="newCenter">New center.</param>
 private void _mapView_MapInitialized(OsmSharp.UI.IMapView mapView, float newZoom, OsmSharp.Units.Angle.Degree newTilt, GeoCoordinate newCenter)
 {
     // make sure the center marker stays in place from now on.
     _centerMarker.MoveWithMap = false;
 }