Commit 28f00139 authored by keesschollaart81's avatar keesschollaart81

Callback added in stop() and 'speed' property renamed to 'velocity'

parent 39fa66bf
......@@ -148,6 +148,7 @@ namespace Cordova.Extension.Commands
{
RunningInBackground = false;
StopGeolocatorIfActive();
DispatchCommandResult(new PluginResult(PluginResult.Status.OK));
}
private void StopGeolocatorIfActive()
......
......@@ -19,7 +19,7 @@ namespace Cordova.Extension.Commands
"\"altitude\": {3}," +
"\"altitudeAccuracy\": {4}," +
"\"heading\": {5}," +
"\"speed\": {6}," +
"\"velocity\": {6}," +
"\"timestamp\": {7}" +
"}}"
, geocoordinate.Accuracy.ToString(numberFormatInfo)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment