static void n_AddGreatCircle_Lorg_osmdroid_util_GeoPoint_Lorg_osmdroid_util_GeoPoint_I(IntPtr jnienv, IntPtr native__this, IntPtr native_startPoint, IntPtr native_endPoint, int numberOfPoints) { global::Osmdroid.Views.Overlay.PathOverlay __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.PathOverlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Osmdroid.Util.GeoPoint startPoint = global::Java.Lang.Object.GetObject <global::Osmdroid.Util.GeoPoint> (native_startPoint, JniHandleOwnership.DoNotTransfer); global::Osmdroid.Util.GeoPoint endPoint = global::Java.Lang.Object.GetObject <global::Osmdroid.Util.GeoPoint> (native_endPoint, JniHandleOwnership.DoNotTransfer); __this.AddGreatCircle(startPoint, endPoint, numberOfPoints); }
public static global::Osmdroid.Util.GeoPoint PixelXYToLatLong(int pixelX, int pixelY, int levelOfDetail, global::Osmdroid.Util.GeoPoint reuse) { if (id_PixelXYToLatLong_IIILorg_osmdroid_util_GeoPoint_ == IntPtr.Zero) { id_PixelXYToLatLong_IIILorg_osmdroid_util_GeoPoint_ = JNIEnv.GetStaticMethodID(class_ref, "PixelXYToLatLong", "(IIILorg/osmdroid/util/GeoPoint;)Lorg/osmdroid/util/GeoPoint;"); } global::Osmdroid.Util.GeoPoint __ret = global::Java.Lang.Object.GetObject <global::Osmdroid.Util.GeoPoint> (JNIEnv.CallStaticObjectMethod(class_ref, id_PixelXYToLatLong_IIILorg_osmdroid_util_GeoPoint_, new JValue(pixelX), new JValue(pixelY), new JValue(levelOfDetail), new JValue(reuse)), JniHandleOwnership.TransferLocalRef); return(__ret); }
public virtual void Add(global::Osmdroid.Util.GeoPoint aGeoPoint, int aNumSatellites) { if (id_add_Lorg_osmdroid_util_GeoPoint_I == IntPtr.Zero) { id_add_Lorg_osmdroid_util_GeoPoint_I = JNIEnv.GetMethodID(class_ref, "add", "(Lorg/osmdroid/util/GeoPoint;I)V"); } if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_add_Lorg_osmdroid_util_GeoPoint_I, new JValue(aGeoPoint), new JValue(aNumSatellites)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "add", "(Lorg/osmdroid/util/GeoPoint;I)V"), new JValue(aGeoPoint), new JValue(aNumSatellites)); } }
public virtual void AddGreatCircle(global::Osmdroid.Util.GeoPoint startPoint, global::Osmdroid.Util.GeoPoint endPoint, int numberOfPoints) { if (id_addGreatCircle_Lorg_osmdroid_util_GeoPoint_Lorg_osmdroid_util_GeoPoint_I == IntPtr.Zero) { id_addGreatCircle_Lorg_osmdroid_util_GeoPoint_Lorg_osmdroid_util_GeoPoint_I = JNIEnv.GetMethodID(class_ref, "addGreatCircle", "(Lorg/osmdroid/util/GeoPoint;Lorg/osmdroid/util/GeoPoint;I)V"); } if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_addGreatCircle_Lorg_osmdroid_util_GeoPoint_Lorg_osmdroid_util_GeoPoint_I, new JValue(startPoint), new JValue(endPoint), new JValue(numberOfPoints)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addGreatCircle", "(Lorg/osmdroid/util/GeoPoint;Lorg/osmdroid/util/GeoPoint;I)V"), new JValue(startPoint), new JValue(endPoint), new JValue(numberOfPoints)); } }
public virtual void SetLocation(global::Osmdroid.Util.GeoPoint mp) { if (id_setLocation_Lorg_osmdroid_util_GeoPoint_ == IntPtr.Zero) { id_setLocation_Lorg_osmdroid_util_GeoPoint_ = JNIEnv.GetMethodID(class_ref, "setLocation", "(Lorg/osmdroid/util/GeoPoint;)V"); } if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_setLocation_Lorg_osmdroid_util_GeoPoint_, new JValue(mp)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setLocation", "(Lorg/osmdroid/util/GeoPoint;)V"), new JValue(mp)); } }
static void n_SetLocation_Lorg_osmdroid_util_GeoPoint_(IntPtr jnienv, IntPtr native__this, IntPtr native_mp) { global::Osmdroid.Views.Overlay.DirectedLocationOverlay __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Views.Overlay.DirectedLocationOverlay> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Osmdroid.Util.GeoPoint mp = global::Java.Lang.Object.GetObject <global::Osmdroid.Util.GeoPoint> (native_mp, JniHandleOwnership.DoNotTransfer); __this.Location = mp; }
static void n_Add_Lorg_osmdroid_util_GeoPoint_I(IntPtr jnienv, IntPtr native__this, IntPtr native_aGeoPoint, int aNumSatellites) { global::Osmdroid.Contributor.RouteRecorder __this = global::Java.Lang.Object.GetObject <global::Osmdroid.Contributor.RouteRecorder> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Osmdroid.Util.GeoPoint aGeoPoint = global::Java.Lang.Object.GetObject <global::Osmdroid.Util.GeoPoint> (native_aGeoPoint, JniHandleOwnership.DoNotTransfer); __this.Add(aGeoPoint, aNumSatellites); }