My favorites | Sign in
Project Logo
             
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<!--
Copyright 2008, Google Inc.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of Google Inc. nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->

<html>
<head>
<title>Geolocation API</title>
<link rel="stylesheet" type="text/css" href="gears.css" />
</head>

<body>

<h1>Geolocation API</h1>

<div id="pagecontent">

<p>The Geolocation API enables a web application to obtain a user's
geographical position.</p>

<h3>Contents</h3>

<ol class="toc">
<li><a href="#overview">Overview</a></li>
<li><a href="#example">Example</a></li>
<li><a href="#classes">Classes</a>
<ol>
<li><a href="#geolocation">Geolocation class</a> </li>
<li><a href="#position">Position class</a></li>
<li><a href="#positionoptions">PositionOptions class</a></li>
<li><a href="#positionerror">PositionError class</a></li>
<li><a href="#coords">Coords class</a></li>
<li><a href="#address">Address class</a></li>
</ol>
</li>
</ol>

<h2 id="overview">Overview</h2>

<p>The Geolocation API enables a web application to:</p>

<ul>
<li>Obtain the user's current position, using the <code><a href="#getCurrent">getCurrentPosition</a></code> method</li>
<li>Watch the user's position as it changes over time, using the <code><a href="#watchPosition">watchPosition</a></code> method</li>
<li>Quickly and cheaply obtain the user's last known position, using
the <code><a href="#lastPosition">lastPosition</a></code> property</li>
</ul>

<p>The Geolocation API provides the best estimate of the user's position
using a number of sources (called location providers). These providers
may be onboard (GPS for example) or server-based (a network location
provider). The <code><a href="#getCurrent">getCurrentPosition</a></code> and <code><a href="#watchPosition">watchPosition</a></code> methods
support an optional parameter of type <code><a href="#positionoptions">PositionOptions</a></code> which lets you specify which location providers to use. </p>

<p>To find out how to implement your own network location provider for use with
the Geolocation API, see the description of the
<a href="geolocation_network_protocol.html">Geolocation API network protocol</a>
that Gears uses to communicate with network location providers.</p>

<h4>Permission</h4>

<p>A site's permission to use location information is separate from the
permission required by other Gears APIs. Permission is granted by the user
in the same way as for other Gears APIs, through a dialog. If you would like
to customize the default dialog, you can explicitly call the
<code><a href="#getpermission">getPermission</a></code> method.</p>


<h2 id="example">Example</h2>

<pre><code>&lt;script type="text/javascript" src="<a href='tools.html#gears_init'>gears_init.js</a>"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
var geo = google.gears.factory.create('beta.geolocation');

function updatePosition(position) {
alert('Current lat/lon is: ' + position.latitude + ',' + position.longitude);
}

function handleError(positionError) {
alert('Attempt to get location failed: ' + positionError.message);
}

geo.getCurrentPosition(updatePosition, handleError);
&lt;/script&gt;</code></pre>


<h2 id="classes">Classes</h2>

<pre><code><a href="#geolocation">Geolocation class</a>
readonly attribute Position lastPosition
readonly attribute boolean hasPermission
void getCurrentPosition(successCallback, [errorCallback], [options])
int watchPosition(successCallback, [errorCallback], [options])
void clearWatch(int watchId)
boolean getPermission([siteName], [imageUrl], [extraMessage])</code></pre>

<pre><code><a href="#position">Position class</a>
readonly attribute Date timestamp
readonly attribute Coords coords
readonly attribute Address gearsAddress
readonly attribute double latitude
readonly attribute double longitude
readonly attribute double accuracy
readonly attribute double altitude
readonly attribute double altitudeAccuracy</code></pre>

<pre><code><a href="#positionoptions">PositionOptions class</a>
readwrite attribute bool enableHighAccuracy
readwrite attribute int maximumAge
readwrite attribute int timeout
readwrite attribute bool gearsRequestAddress
readwrite attribute string gearsAddressLanguage
readwrite attribute string[] gearsLocationProviderUrls</code></pre>

<pre><code><a href="#positionerror">PositionError class</a>
readonly attribute int UNKNOWN_ERROR
readonly attribute int PERMISSION_DENIED
readonly attribute int POSITION_UNAVAILABLE
readonly attribute int TIMEOUT
readonly attribute int code
readonly attribute string message</code></pre>

<pre><code><a href="#coords">Coords class</a>
readonly attribute double latitude
readonly attribute double longitude
readonly attribute double accuracy
readonly attribute double altitude
readonly attribute double altitudeAccuracy</code></pre>

<pre><code><a href="#address">Address class</a>
readonly attribute string streetNumber
readonly attribute string street
readonly attribute string premises
readonly attribute string city
readonly attribute string county
readonly attribute string region
readonly attribute string country
readonly attribute string countryCode
readonly attribute string postalCode</code></pre>


<h2 id="geolocation">Geolocation class</h2>

<h3>Methods</h3>

<table>
<tr class="odd">
<th colspan="2"><code><a name="getCurrent" id="getCurrent"></a>void getCurrentPosition(successCallback, [errorCallback], [options])</code></th>
</tr>
<tr class="odd">
<td width="113">Return value: </td>
<td class="code">This method has no return value.</td>
</tr>
<tr class="odd">
<td>Parameters:</td>
<td class="odd"><code>successCallback(Position position)</code>
<br />
<code>errorCallback(PositionError error)</code> - optional,
pass <code>null</code> if you do not want to make use of the callback.
<br />
<code>options</code> - optional, specifies the options to use for this
request, see <code><a href="#positionoptions">PositionOptions</a></code>.</td>
</tr><tr class="odd">
<td>Description:</td>
<td class="odd">Provides a previously cached position if available or
attempts to obtain a new position.<br><br>
If <code>PositionOptions.maximumAge</code> is zero, the cached position is
not used and a new position fix is always sought. The method will throw an
exception if no location providers are used.<br><br>
If <code>PositionOptions.maximumAge</code> is non-zero, Gears will call the
success callback if the cached position is more recent than
<code>PositionOptions.maximumAge</code>. If not, Gears will attempt to
obtain a new position fix. The success callback is called exactly once as
soon
as a position fix is obtained, or the error callback is called on failure.
If the cached position is not sufficiently recent and no location providers
are used, the error callback is called.<br><br>
Whenever Gears attempts to obtain a new position fix, this is subject to
<code>PositionOptions.timeout</code>. The error callback is called on
timeout.
<br />
<br />
The signature of the success callback is:<br />
<code>function successCallback(Position position)</code><br />
<br />The signature of the error callback is:<br />
<code>function errorCallback(PositionError error)</code></td>
</tr>
</table>

<table>
<tr class="odd">
<th colspan="2"><code><a name="watchPosition" id="watchPosition"></a>int
watchPosition(function successCallback,
[function errorCallback], [PositionOptions options])</code></th>
</tr>
<tr class="odd">
<td width="113">Return value: </td>
<td class="code">A unique watch identifier.</td>
</tr>
<tr class="odd">
<td>Parameters:</td>
<td class="odd"><code>successCallback(Position position)</code><br />
<code>errorCallback(PositionError error)</code> - optional,
pass <code>null</code> if you do not want to make use of the callback.<br />
<code>options</code> - optional, specifies the options to use for this
request, see <code><a href="#positionoptions">PositionOptions</a></code>.</td>
</tr>
<tr class="odd">
<td>Description:</td>
<td class="odd">Provides a previously cached position if available and
repeatedly obtains a new position.<br><br>
If <code>PositionOptions.maximumAge</code> is zero, the cached position is
not used and a new position fix is always sought. The method will throw an
exception if no location providers are used.<br><br>
If <code>PositionOptions.maximumAge</code> is non-zero, Gears will call the
success callback if the cached position is more recent than
<code>PositionOptions.maximumAge</code>. If any case, Gears will then
attempt to obtain a new position fix. The success callback function is
called as soon as a good position is available and whenever the position
changes significantly, subject to a maximum callback frequency. The error
callback is called if a fatal error occurs which will prevent a position fix
from ever being obtained by this watch. If the cached position is not
sufficiently recent and no location providers are used, the error callback
is called.<br><br>
Whenever Gears attempts to obtain a new position fix, this is subject to
<code>PositionOptions.timeout</code>. The error callback is called on
timeout when obtaining the first position fix, or if Gears detects that the
device has moved, but is unable to obtain a new position fix within the time
specifed by <code>PositionOptions.timeout</code>.
<br />
<br />
The signature of the success callback is:<br />
<code>function successCallback(Position position)</code><br />
<br />
The signature of the error callback is:<br />
<code>function errorCallback(PositionError error)</code> </td>
</tr>
</table>

<table>
<tr class="odd">
<th colspan="2"><code>void clearWatch(int watchId)</code></th>
</tr>
<tr class="odd">
<td width="113">Return value: </td>
<td class="code">This method has no return value.</td>
</tr>
<tr class="odd">
<td>Parameter:</td>
<td class="odd"><code>watchId</code> - the identifier of the watch to stop.</td>
</tr>
<tr class="odd">
<td>Description:</td>
<td class="odd">Stop watching the current position.</td>
</tr>
</table>

<a name="getpermission"></a>
<table>
<tr class="odd">
<th colspan="2"><code>boolean getPermission([siteName], [imageUrl], [extraMessage])</code></th>
</tr>
<tr class="odd">
<td width="113">Return value:</td>
<td class="odd">Indicates whether the site has permission to access the user's location through Gears.</td>
</tr>
<tr class="odd">
<td>Parameters:</td>
<td class="odd">
<code>siteName</code>
- optional, friendly name of the site requesting permission.
<br>
<code>imageUrl</code>
- optional, URL of a .png file to display in the dialog.
<br>
<code>extraMessage</code>
- optional, site-specific text to display to users in the security dialog.</td>
</tr>
<tr class="odd">
<td>Description:</td>
<td class="odd">Lets a site manually trigger the Gears location security
dialog, optionally with UI customizations.<br />
<br />
It is always safe to call this function; it will return
immediately if the site already has permission to access the user's
location through Gears. All arguments are optional. The dialog will only
show those that are specified. </td>
</tr>
</table>

<h3>Attributes</h3>

<table>
<tr class="odd">
<th width="170">Attribute</th>
<th width="110">Type</th>
<th>Description</th>
</tr>
<tr class="odd">
<td><strong><a name="lastPosition" id="lastPosition"></a>lastPosition</strong></td>
<td class="odd">readonly Position</td>
<td class="odd">The last known position, or null if there is no last known
position. This does not actively trigger obtaining a new position fix,
so it is quick and does not consume power or computational resources.</td>
</tr>
<tr class="odd">
<td><strong>hasPermission</strong></td>
<td class="odd">readonly boolean</td>
<td class="odd">Returns true if the site already has permission to access the
user's location through Gears.</td>
</tr>
</table>


<h2 id="position">Position class</h2>

<h3>Attributes</h3>

<table>
<tr class="odd">
<th width="170">Attribute</th>
<th width="110">Type</th>
<th>Description</th>
</tr>
<tr class="odd">
<td><strong>timestamp</strong></td>
<td class="odd">readonly Date</td>
<td class="odd">The time when the location was established.</td>
</tr>
<tr class="odd">
<td><strong>coords</strong></td>
<td class="odd">readonly Coords</td>
<td class="odd">The coordinates of the position, expressed as a latitude, longitude and altitude.
See <code><a href="#coords">Coords</a></code>.</td>
</tr>
<tr class="odd">
<td><strong>gearsAddress</strong></td>
<td class="odd">readonly Address</td>
<td class="odd">A reverse-geocoded address, if requested and available.
See <code><a href="#address">Address</a></code>.</td>
</tr>
<tr class="odd">
<td><strong>latitude</strong></td>
<td class="odd">readonly double</td>
<td class="odd">Deprecated. Applications should use Position.coords.latitude.</td>
</tr>
<tr class="odd">
<td><strong>longitude</strong></td>
<td class="odd">readonly double</td>
<td class="odd">Deprecated. Applications should use Position.coords.longitude.</td>
</tr>
<tr class="odd">
<td><strong>accuracy</strong></td>
<td class="odd">readonly double</td>
<td class="odd">Deprecated. Applications should use Position.coords.accuracy.</td>
</tr>
<tr class="odd">
<td><strong>altitude</strong></td>
<td class="odd">readonly double</td>
<td class="odd">Deprecated. Applications should use Position.coords.altitude.</td>
</tr>
<tr class="odd">
<td><strong>altitudeAccuracy</strong></td>
<td class="odd">readonly double </td>
<td class="odd">Deprecated. Applications should use Position.coords.altitudeAccuracy.</td>
</tr>
</table>


<h2 id="positionoptions">PositionOptions class</h2>

<h3>Attributes</h3>

<table>
<tr class="odd">
<th width="170">Attribute</th>
<th width="110">Type</th>
<th>Description</th>
</tr>
<tr class="odd">
<td><strong><a name="enableHigh" id="enableHigh"></a>enableHighAccuracy</strong></td>
<td class="odd">readwrite bool</td>
<td class="odd">Optional, requests the most accurate possible results.
This may result in slower response times or increased battery consumption.
Also, there is no guarantee that the device will be able to provide more
accurate results than if this flag is not specified. The default value
is false.</td>
</tr>
<tr class="odd">
<td><strong>maximumAge</strong></td>
<td class="odd">readwrite int</td>
<td class="odd">Optional, specifies the maximum permissible age, in
milliseconds, of a cached
position provided by the getCurrentPosition and watchPosition methods. When
either of these methods is called, if Gears has a cached permission and it is
more recent than the specified maximum age, the success callback will be
called immediatley with this cached position. If not, Gears will attempt to
obtain a new position fix. If a value of Infinity is specified, no time limit
is applied. The default value is zero, meaning that a cached position is never
used and Gears wil always attempt to get a new position fix.</td>
</tr>
<tr class="odd">
<td><strong>timeout</strong></td>
<td class="odd">readwrite int</td>
<td class="odd">Optional, specifies the maximum time period, in milliseconds,
for which Gears
should attempt to obtain a position fix. If a position fix can not be obtained
within this period, the error callback is invoked with code TIMEOUT. The value
is limited to a non-negative signed 32 bit signed integer. If this value is
not set, no time limit is applied.</td>
</tr>
<tr class="odd">
<td><strong>gearsRequestAddress</strong></td>
<td class="odd">readwrite bool</td>
<td class="odd">Optional, requests reverse geocoded address information
as part of the position data. Reverse geocoding is not performed if this
flag is not specified or if it is set to false.</td>
</tr>
<tr class="odd">
<td><strong>gearsAddressLanguage</strong></td>
<td class="odd">readwrite string</td>
<td class="odd">Optional, specifies the language in which the address (if
requested) should be returned. Specify the language in accordance with
RFC 3066, en-GB for British English for example.
<br><br>
If this is not specified, the address is provided in the default
language of the location provider used to perform the reverse geocoding.</td>
</tr>
<tr class="odd">
<td><strong><a name="providerURLs" id="providerURLs"></a>gearsLocationProviderUrls</strong></td>
<td class="odd">readwrite string[]</td>
<td class="odd">Optional, specifies one or more URLs to contact to convert
geolocation signals into positions. If
unset, defaults to a single Google-implemented service. The array can also be
cleared, or set to null, so that no location providers are used.</td>
</tr>
</table>


<h2 id="positionerror">PositionError class</h2>

<h3>Attributes</h3>

<table>
<tr class="odd">
<th width="170">Attribute</th>
<th width="110">Type</th>
<th>Description</th>
</tr>
<tr class="odd">
<td><strong>UNKNOWN_ERROR</strong></td>
<td class="odd">readonly int</td>
<td class="odd">W3C Geolocation API error code constant. Not used by Gears.
</td>
</tr>
<tr class="odd">
<td><strong>PERMISSION_DENIED</strong></td>
<td class="odd">readonly int</td>
<td class="odd">W3C Geolocation API error code constant. Not used by Gears
</td>
</tr>
<tr class="odd">
<td><strong>POSITION_UNAVAILABLE</strong></td>
<td class="odd">readonly int</td>
<td class="odd">W3C Geolocation API error code constant. No position fix could
be obtained.</td>
</tr>
<tr class="odd">
<td><strong>TIMEOUT</strong></td>
<td class="odd">readonly int</td>
<td class="odd">W3C Geolocation API error code constant. The specified maximum
time elapsed before a position could be obtained.</td>
</tr>
<tr class="odd">
<td><strong>code</strong></td>
<td class="odd">readonly int</td>
<td class="odd">
A code identifying the reason for the error. Possible values are listed
below. Note that Gears does not use all of the W3C Geolocation API error
codes.
<ul>
<li>PositionError.POSITION_UNAVAILABLE
<li>PositionError.TIMEOUT
</ul>
</td>
</tr>
<tr class="odd">
<td><strong>message</strong></td>
<td class="odd">readonly string</td>
<td class="odd">A human readable message, suitable for logs.</td>
</tr>
</table>


<h2 id="coords">Coords class</h2>

<h3>Attributes</h3>

<table>
<tr class="odd">
<th width="170">Attribute</th>
<th width="110">Type</th>
<th>Description</th>
</tr>
<tr class="odd">
<td><strong>latitude</strong></td>
<td class="odd">readonly double</td>
<td class="odd"> Latitude in degrees using the World Geodetic System 1984
(WGS84) datum.</td>
</tr>
<tr class="odd">
<td><strong>longitude</strong></td>
<td class="odd">readonly double</td>
<td class="odd"> Longitude in degrees (WGS84 datum).</td>
</tr>
<tr class="odd">
<td><strong>accuracy</strong></td>
<td class="odd">readonly double</td>
<td class="odd">The horizontal accuracy of the position in meters, or null
if not available.</td>
</tr>
<tr class="odd">
<td><strong>altitude</strong></td>
<td class="odd">readonly double</td>
<td class="odd">Height in meters (WGS84 datum), or null if not available.</td>
</tr>
<tr class="odd">
<td><strong>altitudeAccuracy</strong></td>
<td class="odd">readonly double </td>
<td class="odd">The vertical accuracy of the position in meters, or null
if not available.</td>
</tr>
</table>


<h2 id="address">Address class</h2>

<h3>Attributes</h3>

<table>
<tr class="odd">
<th width="170">Attribute</th>
<th width="110">Type</th>
<th>Description</th>
</tr>
<tr class="odd">
<td><strong>streetNumber</strong></td>
<td class="odd">readonly string</td>
<td class="odd"> The building's street number.</td>
</tr>
<tr class="odd">
<td><strong>street</strong></td>
<td class="odd">readonly string</td>
<td class="odd">Street name.</td>
</tr>
<tr class="odd">
<td><strong>premises</strong></td>
<td class="odd">readonly string</td>
<td class="odd">Premises, e.g. building name.</td>
</tr>
<tr class="odd">
<td><strong>city</strong></td>
<td class="odd">readonly string</td>
<td class="odd">City name.</td>
</tr>
<tr class="odd">
<td><strong>county</strong></td>
<td class="odd">readonly string</td>
<td class="odd">County name.</td>
</tr>
<tr class="odd">
<td><strong>region</strong></td>
<td class="odd">readonly string</td>
<td class="odd">Region, e.g. a state in the US.</td>
</tr>
<tr class="odd">
<td><strong>country</strong></td>
<td class="odd">readonly string</td>
<td class="odd">Country.</td>
</tr>
<tr class="odd">
<td><strong>countryCode</strong></td>
<td class="odd">readonly string</td>
<td class="odd">Country code (ISO 3166-1).</td>
</tr>
<tr class="odd">
<td><strong>postalCode</strong></td>
<td class="odd">readonly string</td>
<td class="odd">Postal code. This is the zip code in the US and postcode in the UK.</td>
</tr>
</table>




</div>
</body>
</html>
Show details Hide details

Change log

r3365 by gears.daemon on Jun 25, 2009   Diff
[Author: steveblock]

Fixes some typos in the Geolocation SDK
documentation.

PRESUBMIT=passed
R=andreip
CC=gears-eng@googlegroups.com
APPROVED=andreip
DELTA=10  (3 added, 0 deleted, 7 changed)
OCL=11604936
SCL=11667338
Go to: 
Project members, sign in to write a code review

Older revisions

r3163 by gears.daemon on Jan 15, 2009   Diff
[Author: steveblock]

Adds documentation for Geolocation
position.coords

...
r3118 by gears.daemon on Dec 16, 2008   Diff
[Author: steveblock]

Adds maximumAge option to Geolocation
API.
Also disallows empty string for
...
r3041 by gears.daemon on Nov 25, 2008   Diff
[Author: steveblock]

Adds Geolocation error code constants
to JavaScript PositionError object.

...
All revisions of this file

File info

Size: 22726 bytes, 621 lines
Powered by Google Project Hosting