Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Side by Side Diff: src/site/samples/geolocation/index.markdown

Issue 47213005: Added geolocation (new); surfaced appcache and webaudio samples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Fixed geolocation url Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 ---
2 layout: default
3 title: A Basic Geolocation Example
4 live_example_url: example/index.html
5 header:
6 css: ["/samples/samples.css"]
7 ---
8
9 ## {{ page.title }}
10
11 Read the
12 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/geoloca tion/trip_meter).
Kathy Walrath 2013/10/28 18:08:04 The source link should be down by the example (for
shailentuli 2013/10/28 19:56:18 Done.
13
14 The Geolocation API lets you track a user's location. The API is
Kathy Walrath 2013/10/28 18:08:04 Does Geolocation really need to be capitalized?
shailentuli 2013/10/28 19:56:18 It is the name of an API. So, yes.
15 device agnostic; the underlying mechanism might be via GPS,
16 wifi, or simply asking the user to enter their location manually. Since
17 these lookups can take some time, the API is asynchronous, and you
18 pass it a callback method whenever you request a location.
19
20 The Trip Meter example displays the user's initial location, and it
21 tracks the distance the user has travelled since the page was loaded.
22
23 You can open the example in Dart Editor and run it by clicking `index.html`.
24
25 <iframe class="running-app-frame"
26 style="height:300px;width:100%;"
27 src="{{page.live_example_url}}">
28 </iframe>
29
30 See all [samples](/samples/).
OLDNEW
« no previous file with comments | « src/site/samples/geolocation/example/trip_meter.dart.precompiled.js ('k') | src/site/samples/samples.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698