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

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: More tweaks 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 The Geolocation API lets you track a user's location. The API is
12 device agnostic; the underlying mechanism might be via GPS,
13 wifi, or simply asking the user to enter their location manually. Since
14 these lookups can take some time, the API is asynchronous, and you
15 pass it a callback method whenever you request a location.
16
17 The Trip Meter example displays the user's initial location, and it
18 tracks the distance the user has travelled since the page was loaded.
19
20 You can open the example in Dart Editor and run it by clicking `index.html`.
21
22 <iframe class="running-app-frame"
23 style="height:300px;width:100%;"
24 src="{{page.live_example_url}}">
25 </iframe>
26
27 Read the
28 [source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/geoloca tion/trip_meter).
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