cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: CB-5658 Delete stale snapshot of plugin docs
Date Wed, 18 Dec 2013 01:52:48 GMT
Updated Branches:
  refs/heads/dev 179993f3a -> 5f1ede9b4


CB-5658 Delete stale snapshot of plugin docs


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/commit/5f1ede9b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/tree/5f1ede9b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/diff/5f1ede9b

Branch: refs/heads/dev
Commit: 5f1ede9b405caf369375eea28502facd273f55cf
Parents: 179993f
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Tue Dec 17 20:49:39 2013 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Tue Dec 17 20:49:39 2013 -0500

----------------------------------------------------------------------
 docs/Coordinates/coordinates.md        | 127 ---------------------------
 docs/Position/position.md              | 121 --------------------------
 docs/PositionError/positionError.md    |  59 -------------
 docs/geolocation.clearWatch.md         | 119 -------------------------
 docs/geolocation.getCurrentPosition.md | 128 ---------------------------
 docs/geolocation.md                    | 104 ----------------------
 docs/geolocation.watchPosition.md      | 130 ----------------------------
 docs/parameters/geolocation.options.md |  41 ---------
 docs/parameters/geolocationError.md    |  32 -------
 docs/parameters/geolocationSuccess.md  |  46 ----------
 10 files changed, 907 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/Coordinates/coordinates.md
----------------------------------------------------------------------
diff --git a/docs/Coordinates/coordinates.md b/docs/Coordinates/coordinates.md
deleted file mode 100644
index 6f3399a..0000000
--- a/docs/Coordinates/coordinates.md
+++ /dev/null
@@ -1,127 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-Coordinates
-===========
-
-A set of properties that describe the geographic coordinates of a position.
-
-Properties
-----------
-
-* __latitude__: Latitude in decimal degrees. _(Number)_
-* __longitude__: Longitude in decimal degrees. _(Number)_
-* __altitude__: Height of the position in meters above the ellipsoid. _(Number)_
-* __accuracy__: Accuracy level of the latitude and longitude coordinates in meters. _(Number)_
-* __altitudeAccuracy__: Accuracy level of the altitude coordinate in meters. _(Number)_
-* __heading__: Direction of travel, specified in degrees counting clockwise relative to the
true north. _(Number)_
-* __speed__: Current ground speed of the device, specified in meters per second. _(Number)_
-
-Description
------------
-
-The `Coordinates` object is created and populated by Cordova, and attached to the `Position`
object. The `Position` object is then returned to the user through a callback function.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iOS
-- Windows Phone 7 and 8
-- Bada 1.2 & 2.x
-- webOS
-- Tizen
-- Windows 8
-
-Quick Example
--------------
-
-    // onSuccess Callback
-    //
-    var onSuccess = function(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + position.timestamp                + '\n');
-    };
-
-    // onError Callback
-    //
-    var onError = function() {
-        alert('onError!');
-    };
-
-    navigator.geolocation.getCurrentPosition(onSuccess, onError);
-
-Full Example
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Geolocation Position Example</title>
-        <script type="text/javascript" charset="utf-8" src="cordova-2.6.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Set an event to wait for Cordova to load
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova is loaded and Ready
-        //
-        function onDeviceReady() {
-            navigator.geolocation.getCurrentPosition(onSuccess, onError);
-        }
-    
-        // Display `Position` properties from the geolocation
-        //
-        function onSuccess(position) {
-            var div = document.getElementById('myDiv');
-        
-            div.innerHTML = 'Latitude: '             + position.coords.latitude  + '<br/>'
+
-                            'Longitude: '            + position.coords.longitude + '<br/>'
+
-                            'Altitude: '             + position.coords.altitude  + '<br/>'
+
-                            'Accuracy: '             + position.coords.accuracy  + '<br/>'
+
-                            'Altitude Accuracy: '    + position.coords.altitudeAccuracy 
+ '<br/>' +
-                            'Heading: '              + position.coords.heading   + '<br/>'
+
-                            'Speed: '                + position.coords.speed     + '<br/>';
-        }
-    
-        // Show an alert if there is a problem getting the geolocation
-        //
-        function onError() {
-            alert('onError!');
-        }
-
-        </script>
-      </head>
-      <body>
-        <div id="myDiv"></div>
-      </body>
-    </html>
-    
-Android Quirks
--------------
-
-__altitudeAccuracy:__ This property is not support by Android devices, it will always return
null.

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/Position/position.md
----------------------------------------------------------------------
diff --git a/docs/Position/position.md b/docs/Position/position.md
deleted file mode 100644
index 1d48864..0000000
--- a/docs/Position/position.md
+++ /dev/null
@@ -1,121 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-Position
-========
-
-Contains `Position` coordinates and timestamp, created by the geolocation API.
-
-Properties
-----------
-
-- __coords:__ A set of geographic coordinates. _(Coordinates)_
-- __timestamp:__ Creation timestamp for `coords`. _(Date)_
-
-Description
------------
-
-The `Position` object is created and populated by Cordova, and returned to the user through
a callback function.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iOS
-- Windows Phone 7 and 8
-- Bada 1.2 & 2.x
-- webOS
-- Tizen
-- Windows 8
-
-Quick Example
--------------
-
-    // onSuccess Callback
-    //
-    var onSuccess = function(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + position.timestamp                + '\n');
-    };
-
-    // onError Callback receives a PositionError object
-    //
-    function onError(error) {
-        alert('code: '    + error.code    + '\n' +
-              'message: ' + error.message + '\n');
-    }
-
-    navigator.geolocation.getCurrentPosition(onSuccess, onError);
-
-Full Example
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-2.6.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for Cordova to load
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova is ready
-        //
-        function onDeviceReady() {
-            navigator.geolocation.getCurrentPosition(onSuccess, onError);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '           + position.coords.latitude       
      + '<br />' +
-                                'Longitude: '          + position.coords.longitude      
      + '<br />' +
-                                'Altitude: '           + position.coords.altitude       
      + '<br />' +
-                                'Accuracy: '           + position.coords.accuracy       
      + '<br />' +
-                                'Altitude Accuracy: '  + position.coords.altitudeAccuracy
     + '<br />' +
-                                'Heading: '            + position.coords.heading        
      + '<br />' +
-                                'Speed: '              + position.coords.speed          
      + '<br />' +
-                                'Timestamp: '          + 
-     position.timestamp                    + '<br />';
-        }
-    
-	    // onError Callback receives a PositionError object
-	    //
-	    function onError(error) {
-	        alert('code: '    + error.code    + '\n' +
-	              'message: ' + error.message + '\n');
-	    }
-
-        </script>
-      </head>
-      <body>
-        <p id="geolocation">Finding geolocation...</p>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/PositionError/positionError.md
----------------------------------------------------------------------
diff --git a/docs/PositionError/positionError.md b/docs/PositionError/positionError.md
deleted file mode 100755
index 5fda2f5..0000000
--- a/docs/PositionError/positionError.md
+++ /dev/null
@@ -1,59 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-PositionError
-========
-
-A `PositionError` object is returned to the `geolocationError` callback when an error occurs.
-
-Properties
-----------
-
-- __code:__ One of the predefined error codes listed below.
-- __message:__ Error message describing the details of the error encountered.
-
-Constants
----------
-
-- `PositionError.PERMISSION_DENIED`
-- `PositionError.POSITION_UNAVAILABLE`
-- `PositionError.TIMEOUT`
-
-Description
------------
-
-The `PositionError` object is returned to the user through the `geolocationError` callback
function when an error occurs with geolocation.
-
-### `PositionError.PERMISSION_DENIED`
-
-Returned when the user does not allow your application to retrieve
-position information. This is dependent on the platform.
-
-### `PositionError.POSITION_UNAVAILABLE`
-
-Returned when the device was unable to retrieve a position. In general
-this means the device has no network connectivity and/or cannot get a
-satellite fix.
-
-### `PositionError.TIMEOUT`
-
-Returned when the device was unable to retrieve a position within the
-time specified in the `geolocationOptions`' `timeout` property. When using
-in conjunction with `geolocation.watchPosition`, this error could be
-called into the `geolocationError` callback every `timeout` milliseconds.

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/geolocation.clearWatch.md
----------------------------------------------------------------------
diff --git a/docs/geolocation.clearWatch.md b/docs/geolocation.clearWatch.md
deleted file mode 100644
index b39fc5f..0000000
--- a/docs/geolocation.clearWatch.md
+++ /dev/null
@@ -1,119 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-geolocation.clearWatch
-======================
-
-Stop watching for changes to the device's location referenced by the `watchID` parameter.
-
-    navigator.geolocation.clearWatch(watchID);
-
-Parameters
-----------
-
-- __watchID:__ The id of the `watchPosition` interval to clear. (String)
-
-Description
------------
-
-`geolocation.clearWatch` stops watching changes to the device's location by clearing the
`geolocation.watchPosition` referenced by `watchID`.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iOS
-- Windows Phone 7 and 8
-- Bada 1.2 & 2.x
-- webOS
-- Tizen
-- Windows 8
-
-Quick Example
--------------
-
-    // Options: watch for changes in position, and use the most
-    // accurate position acquisition method available.
-    //
-    var watchID = navigator.geolocation.watchPosition(onSuccess, onError, { enableHighAccuracy:
true });
-
-    // ...later on...
-
-    navigator.geolocation.clearWatch(watchID);
-
-
-Full Example
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-2.6.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for Cordova to load
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        var watchID = null;
-
-        // Cordova is ready
-        //
-        function onDeviceReady() {
-            // Get the most accurate position updates available on the
-            // device.
-            var options = { enableHighAccuracy: true };
-            watchID = navigator.geolocation.watchPosition(onSuccess, onError, options);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '  + position.coords.latitude      + '<br />'
+
-                                'Longitude: ' + position.coords.longitude     + '<br />'
+
-                                '<hr />'      + element.innerHTML;
-        }
-
-        // clear the watch that was started earlier
-        // 
-        function clearWatch() {
-            if (watchID != null) {
-                navigator.geolocation.clearWatch(watchID);
-                watchID = null;
-            }
-        }
-    
-	    // onError Callback receives a PositionError object
-	    //
-	    function onError(error) {
-	      alert('code: '    + error.code    + '\n' +
-	            'message: ' + error.message + '\n');
-	    }
-
-        </script>
-      </head>
-      <body>
-        <p id="geolocation">Watching geolocation...</p>
-    	<button onclick="clearWatch();">Clear Watch</button>     
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/geolocation.getCurrentPosition.md
----------------------------------------------------------------------
diff --git a/docs/geolocation.getCurrentPosition.md b/docs/geolocation.getCurrentPosition.md
deleted file mode 100644
index 9e5c28a..0000000
--- a/docs/geolocation.getCurrentPosition.md
+++ /dev/null
@@ -1,128 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-geolocation.getCurrentPosition
-==============================
-
-Returns the device's current position as a `Position` object.
-
-    navigator.geolocation.getCurrentPosition(geolocationSuccess, 
-                                             [geolocationError], 
-                                             [geolocationOptions]);
-
-Parameters
-----------
-
-- __geolocationSuccess__: The callback that is called with the current position.
-- __geolocationError__: (Optional) The callback that is called if there was an error.
-- __geolocationOptions__: (Optional) The geolocation options.
-
-Description
------------
-
-`geolocation.getCurrentPosition` is an asynchronous function. It returns the device's current
position to the `geolocationSuccess` callback with a `Position` object as the parameter. 
If there is an error, the `geolocationError` callback is invoked with a `PositionError` object.
-
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iOS
-- Windows Phone 7 and 8
-- Bada 1.2 & 2.x
-- webOS
-- Tizen
-- Windows 8
-
-Quick Example
--------------
-
-    // onSuccess Callback
-    //   This method accepts a `Position` object, which contains
-    //   the current GPS coordinates
-    //
-    var onSuccess = function(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + position.timestamp                + '\n');
-    };
-
-    // onError Callback receives a PositionError object
-    //
-    function onError(error) {
-        alert('code: '    + error.code    + '\n' +
-              'message: ' + error.message + '\n');
-    }
-
-    navigator.geolocation.getCurrentPosition(onSuccess, onError);
-
-Full Example
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-2.6.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for Cordova to load
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        // Cordova is ready
-        //
-        function onDeviceReady() {
-            navigator.geolocation.getCurrentPosition(onSuccess, onError);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '           + position.coords.latitude       
      + '<br />' +
-                                'Longitude: '          + position.coords.longitude      
      + '<br />' +
-                                'Altitude: '           + position.coords.altitude       
      + '<br />' +
-                                'Accuracy: '           + position.coords.accuracy       
      + '<br />' +
-                                'Altitude Accuracy: '  + position.coords.altitudeAccuracy
     + '<br />' +
-                                'Heading: '            + position.coords.heading        
      + '<br />' +
-                                'Speed: '              + position.coords.speed          
      + '<br />' +
-                                'Timestamp: '          +                                
  position.timestamp          + '<br />';
-        }
-    
-        // onError Callback receives a PositionError object
-        //
-        function onError(error) {
-            alert('code: '    + error.code    + '\n' +
-                    'message: ' + error.message + '\n');
-        }
-
-        </script>
-      </head>
-      <body>
-        <p id="geolocation">Finding geolocation...</p>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/geolocation.md
----------------------------------------------------------------------
diff --git a/docs/geolocation.md b/docs/geolocation.md
deleted file mode 100644
index ae1e8ab..0000000
--- a/docs/geolocation.md
+++ /dev/null
@@ -1,104 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-Geolocation
-===========
-
-> The `geolocation` object provides access to the device's GPS sensor.
-
-Geolocation provides location information for the device, such as latitude and longitude.
Common sources of location information include Global Positioning System (GPS) and location
inferred from network signals such as IP address, RFID, WiFi and Bluetooth MAC addresses,
and GSM/CDMA cell IDs. No guarantee is given that the API returns the device's actual location.
-
-This API is based on the [W3C Geolocation API Specification](http://dev.w3.org/geo/api/spec-source.html).
 Some devices (Android, BlackBerry, Bada, Windows Phone 7, webOS and Tizen, to be specific)
already provide an implementation of this spec.  For those devices, the built-in support is
used instead of replacing it with Cordova's implementation.  For devices that don't have geolocation
support, the Cordova implementation adheres to the W3C specification.
-
-Methods
--------
-
-- geolocation.getCurrentPosition
-- geolocation.watchPosition
-- geolocation.clearWatch
-
-
-Arguments
----------
-
-- geolocationSuccess
-- geolocationError
-- geolocationOptions
-
-Objects (Read-Only)
--------------------
-
-- Position
-- PositionError
-- Coordinates
-
-Permissions
------------
-
-### Android
-
-#### app/res/xml/config.xml
-
-    <plugin name="Geolocation" value="org.apache.cordova.GeoBroker" />
-
-#### app/AndroidManifest.xml
-
-    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
-    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
-    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS"
/>
-
-### Bada
-
-    No permissions are required.
-
-### BlackBerry WebWorks
-
-#### www/plugins.xml
-
-    <plugin name="Geolocation" value="org.apache.cordova.geolocation.Geolocation" />
-
-#### www/config.xml
-
-    <rim:permissions>
-        <rim:permit>read_geolocation</rim:permit>
-    </rim:permissions>
-
-### iOS
-
-#### config.xml
-
-    <plugin name="Geolocation" value="CDVLocation" />
-
-### webOS
-
-    No permissions are required.
-
-### Windows Phone
-
-#### Properties/WPAppManifest.xml
-
-    <Capabilities>
-        <Capability Name="ID_CAP_LOCATION" />
-    </Capabilities>
-
-Reference: [Application Manifest for Windows Phone](http://msdn.microsoft.com/en-us/library/ff769509%28v=vs.92%29.aspx)
-
-### Tizen
-
-    No permissions are required.

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/geolocation.watchPosition.md
----------------------------------------------------------------------
diff --git a/docs/geolocation.watchPosition.md b/docs/geolocation.watchPosition.md
deleted file mode 100644
index c5475eb..0000000
--- a/docs/geolocation.watchPosition.md
+++ /dev/null
@@ -1,130 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-geolocation.watchPosition
-=========================
-
-Watches for changes to the device's current position.
-
-    var watchId = navigator.geolocation.watchPosition(geolocationSuccess,
-                                                      [geolocationError],
-                                                      [geolocationOptions]);
-
-Parameters
-----------
-
-- __geolocationSuccess__: The callback that is called with the current position.
-- __geolocationError__: (Optional) The callback that is called if there was an error.
-- __geolocationOptions__: (Optional) The geolocation options.
-
-Returns
--------
-
-- __String__: returns a watch id that references the watch position interval. The watch id
should be used with `geolocation.clearWatch` to stop watching for changes in position.
-
-Description
------------
-
-`geolocation.watchPosition` is an asynchronous function. It returns the device's current
position when a change in position has been detected.  When the device has retrieved a new
location, the `geolocationSuccess` callback is invoked with a `Position` object as the parameter.
 If there is an error, the `geolocationError` callback is invoked with a `PositionError` object.
-
-Supported Platforms
--------------------
-
-- Android
-- BlackBerry WebWorks (OS 5.0 and higher)
-- iOS
-- Windows Phone 7 and 8
-- Bada 1.2 & 2.x
-- webOS
-- Tizen
-- Windows 8
-
-Quick Example
--------------
-
-    // onSuccess Callback
-    //   This method accepts a `Position` object, which contains
-    //   the current GPS coordinates
-    //
-    function onSuccess(position) {
-        var element = document.getElementById('geolocation');
-        element.innerHTML = 'Latitude: '  + position.coords.latitude      + '<br />'
+
-                            'Longitude: ' + position.coords.longitude     + '<br />'
+
-                            '<hr />'      + element.innerHTML;
-    }
-
-    // onError Callback receives a PositionError object
-    //
-    function onError(error) {
-        alert('code: '    + error.code    + '\n' +
-              'message: ' + error.message + '\n');
-    }
-
-    // Options: throw an error if no update is received every 30 seconds.
-    //
-    var watchID = navigator.geolocation.watchPosition(onSuccess, onError, { timeout: 30000
});
-    
-
-Full Example
-------------
-
-    <!DOCTYPE html>
-    <html>
-      <head>
-        <title>Device Properties Example</title>
-
-        <script type="text/javascript" charset="utf-8" src="cordova-2.6.0.js"></script>
-        <script type="text/javascript" charset="utf-8">
-
-        // Wait for Cordova to load
-        //
-        document.addEventListener("deviceready", onDeviceReady, false);
-
-        var watchID = null;
-
-        // Cordova is ready
-        //
-        function onDeviceReady() {
-            // Throw an error if no update is received every 30 seconds
-            var options = { timeout: 30000 };
-            watchID = navigator.geolocation.watchPosition(onSuccess, onError, options);
-        }
-    
-        // onSuccess Geolocation
-        //
-        function onSuccess(position) {
-            var element = document.getElementById('geolocation');
-            element.innerHTML = 'Latitude: '  + position.coords.latitude      + '<br />'
+
-                                'Longitude: ' + position.coords.longitude     + '<br />'
+
-                                '<hr />'      + element.innerHTML;
-        }
-    
-	    // onError Callback receives a PositionError object
-	    //
-	    function onError(error) {
-	        alert('code: '    + error.code    + '\n' +
-	              'message: ' + error.message + '\n');
-	    }
-
-        </script>
-      </head>
-      <body>
-        <p id="geolocation">Watching geolocation...</p>
-      </body>
-    </html>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/parameters/geolocation.options.md
----------------------------------------------------------------------
diff --git a/docs/parameters/geolocation.options.md b/docs/parameters/geolocation.options.md
deleted file mode 100644
index d822d24..0000000
--- a/docs/parameters/geolocation.options.md
+++ /dev/null
@@ -1,41 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-geolocationOptions
-==================
-
-Optional parameters to customize the retrieval of the geolocation
-`Position`.
-
-    { maximumAge: 3000, timeout: 5000, enableHighAccuracy: true };
-
-Options
--------
-
-- __enableHighAccuracy:__ Provides a hint that the application would like to receive the
best possible results. By default, the device will attempt to retrieve a `Position` using
network-based methods. Setting this property to `true` tells the framework to use more accurate
methods, such as satellite positioning. _(Boolean)_
-- __timeout:__ The maximum length of time (milliseconds) that is allowed to pass from the
call to `geolocation.getCurrentPosition` or `geolocation.watchPosition` until the corresponding
`geolocationSuccess` callback is invoked. If the `geolocationSuccess` callback is not invoked
within this time, the `geolocationError` callback will be invoked with a `PositionError.TIMEOUT`
error code. NOTE: when used in conjunction with `geolocation.watchPosition`, the `geolocationError`
callback could be called on an interval every `timeout` milliseconds! _(Number)_
-- __maximumAge:__ Accept a cached position whose age is no greater than the specified time
in milliseconds. _(Number)_
-
-Android Quirks
---------------
-
-The Android 2.x simulators will not return a geolocation result unless the enableHighAccuracy
option is set to true.
-
-    { enableHighAccuracy: true }
-

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/parameters/geolocationError.md
----------------------------------------------------------------------
diff --git a/docs/parameters/geolocationError.md b/docs/parameters/geolocationError.md
deleted file mode 100644
index c0091a0..0000000
--- a/docs/parameters/geolocationError.md
+++ /dev/null
@@ -1,32 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-geolocationError
-================
-
-The user's callback function that is called when there is an error for geolocation functions.
-
-    function(error) {
-        // Handle the error
-    }
-
-Parameters
-----------
-
-- __error:__ The error returned by the device. (`PositionError`)

http://git-wip-us.apache.org/repos/asf/cordova-plugin-geolocation/blob/5f1ede9b/docs/parameters/geolocationSuccess.md
----------------------------------------------------------------------
diff --git a/docs/parameters/geolocationSuccess.md b/docs/parameters/geolocationSuccess.md
deleted file mode 100644
index b70a579..0000000
--- a/docs/parameters/geolocationSuccess.md
+++ /dev/null
@@ -1,46 +0,0 @@
----
-license: Licensed to the Apache Software Foundation (ASF) under one
-         or more contributor license agreements.  See the NOTICE file
-         distributed with this work for additional information
-         regarding copyright ownership.  The ASF licenses this file
-         to you under the Apache License, Version 2.0 (the
-         "License"); you may not use this file except in compliance
-         with the License.  You may obtain a copy of the License at
-
-           http://www.apache.org/licenses/LICENSE-2.0
-
-         Unless required by applicable law or agreed to in writing,
-         software distributed under the License is distributed on an
-         "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-         KIND, either express or implied.  See the License for the
-         specific language governing permissions and limitations
-         under the License.
----
-
-geolocationSuccess
-==================
-
-The user's callback function that is called when a geolocation position becomes available
(when using with `geolocation.getCurrentPosition`), or when the position changes (when using
with `geolocation.watchPosition`).
-
-    function(position) {
-        // Do something
-    }
-
-Parameters
-----------
-
-- __position:__ The geolocation position returned by the device. (`Position`)
-
-Example
--------
-
-    function geolocationSuccess(position) {
-        alert('Latitude: '          + position.coords.latitude          + '\n' +
-              'Longitude: '         + position.coords.longitude         + '\n' +
-              'Altitude: '          + position.coords.altitude          + '\n' +
-              'Accuracy: '          + position.coords.accuracy          + '\n' +
-              'Altitude Accuracy: ' + position.coords.altitudeAccuracy  + '\n' +
-              'Heading: '           + position.coords.heading           + '\n' +
-              'Speed: '             + position.coords.speed             + '\n' +
-              'Timestamp: '         + position.timestamp                + '\n');
-    }


Mime
View raw message