| Index: src/site/samples/geolocation/example/index.html
|
| diff --git a/src/site/samples/geolocation/example/index.html b/src/site/samples/geolocation/example/index.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d947ac0f4ddd5db630b8beabaeb4bb9d06ca10ab
|
| --- /dev/null
|
| +++ b/src/site/samples/geolocation/example/index.html
|
| @@ -0,0 +1,33 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<!--
|
| + Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| + for details. All rights reserved. Use of this source code is governed by a
|
| + BSD-style license that can be found in the COPYING file.
|
| +-->
|
| +
|
| +<html>
|
| + <head>
|
| + <meta charset="utf-8">
|
| + <title>TripMeter</title>
|
| + <link rel="stylesheet" href="trip_meter.css">
|
| + </head>
|
| + <body>
|
| + <div id="tripmeter">
|
| + <p>
|
| + Starting Location (lat, lon):<br/>
|
| + <span id="start-lat">???</span>°, <span id="start-lon">???</span>°
|
| + </p>
|
| + <p>
|
| + Current Location (lat, lon):<br/>
|
| + <span id="current-lat">???</span>°, <span id="current-lon">???</span>°
|
| + </p>
|
| + <p>
|
| + Distance from starting location:<br>
|
| + <span id="distance">0</span> km
|
| + </p>
|
| + </div>
|
| + <script type="application/dart" src="trip_meter.dart"></script>
|
| + <script src="packages/browser/dart.js"></script>
|
| + </body>
|
| +</html>
|
|
|